Merge pull request #136661 from atombrella/feature/fix_test_TestContainerMapCloneUnshared

Fix typo in `TestContainerMapCloneUnshared`
This commit is contained in:
Kubernetes Prow Robot 2026-01-31 17:00:24 +05:30 committed by GitHub
commit ff38eebb98
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -52,7 +52,7 @@ func TestContainerMapCloneUnshared(t *testing.T) {
// check the original copy didn't change
// early sanity check, random ID, no special meaning
podUIDRedo, containerNameRedo, err2 := cm.GetContainerRef("fakeContainerID-C")
if err != nil {
if err2 != nil {
t.Fatalf("unexpected error: %v", err2)
}
if podUIDRedo != "fakePodUID-2" || containerNameRedo != "fakeContainerName-c2" {