Update vraGetNetworksSorted.js

This commit is contained in:
John Bowdre 2022-06-14 11:20:29 -05:00 committed by GitHub
parent 0da6590084
commit b47a046227
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -28,8 +28,8 @@ if (!(zoneName == "" || zoneName == null)) {
System.debug(JSON.stringify(networkProps)); System.debug(JSON.stringify(networkProps));
var networkTag = null; var networkTag = null;
for each (tag in networkProps.tags) { for each (tag in networkProps.tags) {
if (tag.key === "network") { if (tag.key === "net") {
networkTag = "network:" + tag.value; networkTag = "net:" + tag.value;
} }
if (networkTag != null) { break; }; if (networkTag != null) { break; };
} }