Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

Go 1.18 #2174

Merged
merged 2 commits into from
Jul 25, 2022
Merged

Go 1.18 #2174

merged 2 commits into from
Jul 25, 2022

Conversation

crazy-max
Copy link
Contributor

@crazy-max crazy-max commented Jul 23, 2022

I plan to switch from shelling out to retrieve docker cli version by using the debug/buildinfo module in #2151 that will give resp time <1ms but this package is available since Go 1.18: crazy-max@ec18d50

Also upgrading to Go 1.18 will slightly improve response time of the compose-cli itself:

CliVersionViaComposeCli/compose-cli-1.0.26-docker-20.10.17     70.8ms ± 0%
CliVersionViaComposeCli/compose-cli-go-1.18-docker-20.10.17    62.5ms ± 0%

cc @tonistiigi @glours @rumpl

Signed-off-by: CrazyMax crazy-max@users.noreply.github.com

@github-actions github-actions bot added aci ci Continuous integration cli cli ecs kube Kubernetes backend metrics labels Jul 23, 2022
@crazy-max crazy-max force-pushed the go-1.18 branch 2 times, most recently from a342738 to 32429f1 Compare July 23, 2022 22:25
@github-actions github-actions bot added the api api label Jul 23, 2022
@crazy-max

This comment was marked as outdated.

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
Copy link
Collaborator

@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

@glours glours requested a review from StefanScherer July 25, 2022 08:17
Copy link
Contributor

@StefanScherer StefanScherer left a comment

Choose a reason for hiding this comment

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

LGTM
Thanks!

@glours glours merged commit 8839c52 into docker-archive:main Jul 25, 2022
@crazy-max crazy-max deleted the go-1.18 branch July 25, 2022 08:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
aci api api ci Continuous integration cli cli ecs kube Kubernetes backend metrics
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants