mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
fix wrong print format
Signed-off-by: Reficul <xuzhenglun@gmail.com>
This commit is contained in:
parent
75843d36aa
commit
9b1ceecd8a
2 changed files with 2 additions and 2 deletions
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue