File tree Expand file tree Collapse file tree 2 files changed +1
-7
lines changed
Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -216,10 +216,6 @@ func generate(in configInput) ([]byte, error) {
216216 },
217217 }
218218
219- if in .configScope != "" {
220- c .Node .Metadata ["TRAFFICDIRECTOR_SCOPE_NAME" ] = in .configScope
221- }
222-
223219 for k , v := range in .metadataLabels {
224220 c .Node .Metadata [k ] = v
225221 }
Original file line number Diff line number Diff line change @@ -314,7 +314,6 @@ func TestGenerate(t *testing.T) {
314314 "INSTANCE_IP": "10.9.8.7",
315315 "TRAFFICDIRECTOR_GCP_PROJECT_NUMBER": "123456789012345",
316316 "TRAFFICDIRECTOR_NETWORK_NAME": "thedefault",
317- "TRAFFICDIRECTOR_SCOPE_NAME": "testscope",
318317 "TRAFFIC_DIRECTOR_CLIENT_ENVIRONMENT": {
319318 "GCE-VM": "test-gce-vm",
320319 "GCP-ZONE": "uscentral-5",
@@ -357,8 +356,7 @@ func TestGenerate(t *testing.T) {
357356 "cluster": "cluster",
358357 "metadata": {
359358 "TRAFFICDIRECTOR_GCP_PROJECT_NUMBER": "123456789012345",
360- "TRAFFICDIRECTOR_NETWORK_NAME": "thedefault",
361- "TRAFFICDIRECTOR_SCOPE_NAME": "testscope"
359+ "TRAFFICDIRECTOR_NETWORK_NAME": "thedefault"
362360 },
363361 "locality": {
364362 "zone": "uscentral-5"
You can’t perform that action at this time.
0 commit comments