fix wrong print format

Signed-off-by: Reficul <xuzhenglun@gmail.com>
This commit is contained in:
Reficul 2017-02-21 10:26:06 +08:00
parent 91da14c343
commit a77cf51173
1 changed files with 1 additions and 1 deletions

View File

@ -492,7 +492,7 @@ func TestParseHealth(t *testing.T) {
t.Fatalf("--health-cmd: got %#v", health.Test) t.Fatalf("--health-cmd: got %#v", health.Test)
} }
if health.Timeout != 0 { 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", checkError("--no-healthcheck conflicts with --health-* options",