This commit is contained in:
Girish Ramakrishnan
2017-11-22 12:02:01 -08:00
parent 136ee363a8
commit 72a96c0d6a

View File

@@ -108,10 +108,10 @@ app.controller('SetupDNSController', ['$scope', '$http', 'Client', function ($sc
};
if (!data.projectId || !data.credentials || !data.credentials.client_email || !data.credentials.private_key) {
throw "fields_missing";
throw 'fields_missing';
}
} catch(e) {
$scope.dnsCredentials.error = "Cannot parse Google Service Account Key";
$scope.dnsCredentials.error = 'Cannot parse Google Service Account Key';
$scope.dnsCredentials.busy = false;
return;
}
@@ -134,7 +134,7 @@ app.controller('SetupDNSController', ['$scope', '$http', 'Client', function ($sc
}
waitForDnsSetup();
});
});
};
function waitForDnsSetup() {