1
0
mirror of https://github.com/docker/cli.git synced 2026-01-18 08:21:31 +03:00

fix wrong print format

Signed-off-by: Reficul <xuzhenglun@gmail.com>
Upstream-commit: a77cf51173
Component: cli
This commit is contained in:
Reficul
2017-02-21 10:26:06 +08:00
parent d296e1a385
commit b7afa18df2

View File

@@ -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",