mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-02 11:18:16 +00:00
Replace use of "id" in strings with "name"
This commit is contained in:
@@ -813,7 +813,7 @@ func TestValidateReplicationController(t *testing.T) {
|
||||
for i := range errs {
|
||||
field := errs[i].(errors.ValidationError).Field
|
||||
if !strings.HasPrefix(field, "desiredState.podTemplate.") &&
|
||||
field != "id" &&
|
||||
field != "name" &&
|
||||
field != "namespace" &&
|
||||
field != "desiredState.replicaSelector" &&
|
||||
field != "GCEPersistentDisk.ReadOnly" &&
|
||||
|
||||
Reference in New Issue
Block a user