We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9197e70 commit 218f933Copy full SHA for 218f933
1 file changed
routes/location.js
@@ -396,10 +396,10 @@ function getK8sCloudMetadata(callback) {
396
console.log(`RESULT: ${metaData}`);
397
console.log('No more data in response.');
398
399
- if (metaData.spec.providerID) {
+ if (metaData.spec.providerID) {
400
var provider = metaData.spec.providerID;
401
cloudName = String(provider.split(":", 1)); // Split on providerID if request was successful
402
- }
+ }
403
404
// use the annotation to identify the zone if available
405
if (metaData.metadata.labels['failure-domain.beta.kubernetes.io/zone']) {
0 commit comments