mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-06-09 08:55:55 -04:00
Fix pkg/controller/replicaset/replica_set_test.go variable reference error
Signed-off-by: chymy <chang.min1@zte.com.cn>
This commit is contained in:
parent
bce5d7a015
commit
d2868af029
1 changed files with 2 additions and 2 deletions
|
|
@ -1274,10 +1274,10 @@ func TestExpectationsOnRecreate(t *testing.T) {
|
|||
t.Fatal(err)
|
||||
}
|
||||
if !exists {
|
||||
t.Errorf("No expectations found for ReplicaSet %q", oldRSKey)
|
||||
t.Errorf("No expectations found for ReplicaSet %q", newRSKey)
|
||||
}
|
||||
if rsExp.Fulfilled() {
|
||||
t.Errorf("There should be unfulfilled expectations for creating new pods for ReplicaSet %q", oldRSKey)
|
||||
t.Errorf("There should be unfulfilled expectations for creating new pods for ReplicaSet %q", newRSKey)
|
||||
}
|
||||
|
||||
err = validateSyncReplicaSet(&fakePodControl, 1, 0, 0)
|
||||
|
|
|
|||
Loading…
Reference in a new issue