mirror of
https://github.com/docker/cli.git
synced 2026-01-15 07:40:57 +03:00
Merge pull request #31206 from xuzhenglun/master
fix wrong print format Upstream-commit: 19795b934cac6f90b75f973ba59ece153c3df2cb Component: engine
This commit is contained in:
@@ -489,7 +489,7 @@ func TestArg(t *testing.T) {
|
||||
}
|
||||
|
||||
if *val != "bar" {
|
||||
t.Fatalf("%s argument should have default value 'bar', got %s", argName, val)
|
||||
t.Fatalf("%s argument should have default value 'bar', got %s", argName, *val)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -492,7 +492,7 @@ func TestParseHealth(t *testing.T) {
|
||||
t.Fatalf("--health-cmd: got %#v", health.Test)
|
||||
}
|
||||
if health.Timeout != 0 {
|
||||
t.Fatalf("--health-cmd: timeout = %f", health.Timeout)
|
||||
t.Fatalf("--health-cmd: timeout = %s", health.Timeout)
|
||||
}
|
||||
|
||||
checkError("--no-healthcheck conflicts with --health-* options",
|
||||
|
||||
Reference in New Issue
Block a user