mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-06 07:57:35 +00:00
Change runtime.Object signature
This commit is contained in:
@@ -280,7 +280,7 @@ func TestFiltering(t *testing.T) {
|
||||
t.Errorf("Unexpected error: %v", err)
|
||||
return false
|
||||
}
|
||||
return selector.Matches(labels.Set(metadata.Labels()))
|
||||
return selector.Matches(labels.Set(metadata.GetLabels()))
|
||||
}
|
||||
// We want to observe fooCreation too, so need to pass smaller resource version.
|
||||
initialVersion, err := strconv.Atoi(fooCreated.ResourceVersion)
|
||||
|
||||
Reference in New Issue
Block a user