Skip to content

Commit

Permalink
lint and minor
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTrunk committed Dec 12, 2023
1 parent de81fa7 commit 400be09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ZelBack/src/services/dockerService.js
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,7 @@ async function appDockerCreate(appSpecifications, appName, isComponent, fullAppS
const getDevice = await deviceHelper.getDfDevice('/var/lib/docker').catch((error) => {
log.error(error);
});
if ( getDevice !== false ) {
if (getDevice && getDevice !== false) {
const hasQuotaPossibility = await deviceHelper.hasQuotaOptionForDevice(getDevice).catch((error) => {
log.error(error);
});
Expand Down

0 comments on commit 400be09

Please sign in to comment.