This commit is contained in:
Girish Ramakrishnan
2018-05-07 13:18:51 -07:00
parent 07b428f051
commit c678a9b6d7
2 changed files with 2 additions and 2 deletions

View File

@@ -109,7 +109,7 @@ app.controller('SetupDNSController', ['$scope', '$http', '$timeout', 'Client', f
data.accessKeyId = $scope.dnsCredentials.accessKeyId;
data.secretAccessKey = $scope.dnsCredentials.secretAccessKey;
data.listHostedZonesByName = true; // use the new listHostedZoneByName API
} else if (provider === 'gcdns'){
} else if (provider === 'gcdns') {
try {
var serviceAccountKey = JSON.parse($scope.dnsCredentials.gcdnsKey.content);
data.projectId = serviceAccountKey.project_id;