mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-04 23:17:50 +00:00
make testclient more precise
This commit is contained in:
@@ -119,7 +119,7 @@ func TestCreateExternalLoadBalancer(t *testing.T) {
|
||||
}
|
||||
actionFound := false
|
||||
for _, action := range actions {
|
||||
if action.Action == "update-service" {
|
||||
if action.GetVerb() == "update" && action.GetResource() == "services" {
|
||||
actionFound = true
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user