Fix the rest of the code
This commit is contained in:
@@ -124,7 +124,7 @@ func TestGetReadyPodsCount(t *testing.T) {
|
||||
}
|
||||
|
||||
for _, test := range tests {
|
||||
if count := getReadyPodsCount(test.pods, test.minReadySeconds); count != test.expected {
|
||||
if count := getReadyPodsCount(test.pods, int32(test.minReadySeconds)); int(count) != test.expected {
|
||||
t.Errorf("Pods = %#v, minReadySeconds = %d, expected %d, got %d", test.pods, test.minReadySeconds, test.expected, count)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user