mirror of
https://github.com/kubernetes/client-go.git
synced 2025-08-15 22:13:09 +00:00
fix some syntax related errors
Kubernetes-commit: d065157dd74fa02eec87f5849528b079a3736c3d
This commit is contained in:
parent
fbdccbf09b
commit
a8dc497f30
@ -206,7 +206,7 @@ func TestSetRotationDeadline(t *testing.T) {
|
|||||||
t.Errorf("%d metrics were recorded, wanted %d", g.calls, 1)
|
t.Errorf("%d metrics were recorded, wanted %d", g.calls, 1)
|
||||||
}
|
}
|
||||||
if g.lastValue != float64(tc.notAfter.Unix()) {
|
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())
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user