use fully qualified resource in fake clients actions

This commit is contained in:
Chao Xu
2016-04-13 15:33:15 -07:00
parent f8d4f6157f
commit 8537095415
172 changed files with 1494 additions and 1175 deletions

View File

@@ -129,7 +129,7 @@ func TestCreateExternalLoadBalancer(t *testing.T) {
}
actionFound := false
for _, action := range actions {
if action.GetVerb() == "update" && action.GetResource() == "services" {
if action.GetVerb() == "update" && action.GetResource().Resource == "services" {
actionFound = true
}
}