When no zone name is available display a default

Backport from Cosmic
This commit is contained in:
Remi Bergsma 2016-04-07 21:57:17 +02:00
parent ef115ab1d0
commit aead9f4ff4

View File

@ -1427,6 +1427,9 @@
jsonObj.xenserverToolsVersion61plus = false; jsonObj.xenserverToolsVersion61plus = false;
} }
} }
if (!'zonename' in jsonObj) {
jsonObj.zonename = 'All Zones';
}
} }
args.response.success({ args.response.success({