Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

don't use unitialized cli to setup DryRunClient #10770

Merged
merged 1 commit into from
Jul 6, 2023

Conversation

ndeloof
Copy link
Contributor

@ndeloof ndeloof commented Jul 4, 2023

What I did
use the actual dockerCli to setup DryRunClient, otherwise we get a chicked/egg problem with buildx trying to guess the active context while we are still intializing

Related issue
fixes #10766

(not mandatory) A picture of a cute animal, if possible in relation to what you did
image

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
@ndeloof ndeloof requested review from glours and milas July 4, 2023 13:43
Copy link
Contributor

@glours glours left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@codecov
Copy link

codecov bot commented Jul 5, 2023

Codecov Report

Patch coverage has no change and project coverage change: -0.01 ⚠️

Comparison is base (827e864) 59.14% compared to head (96e3472) 59.14%.

Additional details and impacted files
@@            Coverage Diff             @@
##               v2   #10770      +/-   ##
==========================================
- Coverage   59.14%   59.14%   -0.01%     
==========================================
  Files         115      115              
  Lines        9850     9852       +2     
==========================================
+ Hits         5826     5827       +1     
- Misses       3433     3435       +2     
+ Partials      591      590       -1     
Impacted Files Coverage Δ
pkg/api/dryrunclient.go 0.00% <0.00%> (ø)
pkg/compose/compose.go 60.89% <0.00%> (-0.69%) ⬇️

... and 2 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@ndeloof ndeloof merged commit b5f5e27 into docker:v2 Jul 6, 2023
@ndeloof ndeloof deleted the dry_run_init branch July 6, 2023 12:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] --dry-run flag causes Compose commands to to fail on Synology with official Docker package
3 participants