mirror of
https://github.com/moby/moby.git
synced 2026-01-11 10:41:43 +00:00
client: refactor ServerVersion to return ServerVersionResult
Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Austin Vazquez <austin.vazquez@docker.com> Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
committed by
Sebastiaan van Stijn
parent
32f90ab113
commit
860307c4ea
@@ -43,11 +43,11 @@ func OnlyDefaultNetworks(ctx context.Context) bool {
|
||||
}
|
||||
|
||||
func IsAmd64() bool {
|
||||
return testEnv.DaemonVersion.Arch == "amd64"
|
||||
return testEnv.DaemonInfo.Architecture == "amd64"
|
||||
}
|
||||
|
||||
func NotPpc64le() bool {
|
||||
return testEnv.DaemonVersion.Arch != "ppc64le"
|
||||
return testEnv.DaemonInfo.Architecture != "ppc64le"
|
||||
}
|
||||
|
||||
func UnixCli() bool {
|
||||
|
||||
Reference in New Issue
Block a user