Skip to content

Commit

Permalink
fix: truly don’t warn if can’t connect to the Docker deamon
Browse files Browse the repository at this point in the history
Closes #6094
  • Loading branch information
rarkins committed Apr 30, 2020
1 parent ed40e6e commit d765370
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/util/exec/docker/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,9 @@ export async function removeDanglingContainers(): Promise<void> {
}
if (err.stderr?.includes('Cannot connect to the Docker daemon')) {
logger.info('No docker deamon found');
} else {
logger.warn({ err }, 'Error removing dangling containers');
}
logger.warn({ err }, 'Error removing dangling containers');
}
}

Expand Down

0 comments on commit d765370

Please sign in to comment.