fix some syntax related errors

Kubernetes-commit: d065157dd74fa02eec87f5849528b079a3736c3d
This commit is contained in:
Wang Guoliang 2018-02-11 19:50:49 +08:00 committed by Kubernetes Publisher
parent fbdccbf09b
commit a8dc497f30

View File

@ -206,7 +206,7 @@ func TestSetRotationDeadline(t *testing.T) {
t.Errorf("%d metrics were recorded, wanted %d", g.calls, 1)
}
if g.lastValue != float64(tc.notAfter.Unix()) {
t.Errorf("%d value for metric was recorded, wanted %d", g.lastValue, tc.notAfter.Unix())
t.Errorf("%f value for metric was recorded, wanted %d", g.lastValue, tc.notAfter.Unix())
}
})
}