mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-02 03:08:15 +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