-
Notifications
You must be signed in to change notification settings - Fork 482
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
vendor: update buildx to latest docker/cli #2460
Conversation
@@ -269,8 +269,7 @@ func (o *buildOptionsHash) String() string { | |||
} | |||
|
|||
func runBuild(ctx context.Context, dockerCli command.Cli, options buildOptions) (err error) { | |||
mp := dockerCli.MeterProvider(ctx) | |||
defer metricutil.Shutdown(ctx, mp) | |||
mp := dockerCli.MeterProvider() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This returns a meter provider initialized by the CLI now and the CLI handles reporting and shutdown now.
Need to double check that this works correctly with standalone.
This version of docker/cli has changes to remove compose-cli wrapper and move all CLI metrics to OTEL. Signed-off-by: Jonathan A. Sternberg <jonathan.sternberg@docker.com>
cc @laurazard |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This version of docker/cli has changes to remove compose-cli wrapper and move all CLI metrics to OTEL.