Merge pull request #74936 from rjaini/rj_1.14

Adding a check to make sure Metadata is read only if flag value is true.
This commit is contained in:
Kubernetes Prow Robot
2019-03-07 01:07:13 -08:00
committed by GitHub
2 changed files with 33 additions and 23 deletions

View File

@@ -1676,7 +1676,8 @@ func validateEmptyConfig(t *testing.T, config string) {
func TestGetZone(t *testing.T) {
cloud := &Cloud{
Config: Config{
Location: "eastus",
Location: "eastus",
UseInstanceMetadata: true,
},
}
testcases := []struct {