Skip to content

Commit b7af464

Browse files
lucas.martins.sccloudserikbocks
authored andcommitted
Using new get
1 parent 307b1c0 commit b7af464

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

plugins/integrations/kubernetes-service/src/main/java/com/cloud/kubernetes/cluster/actionworkers/KubernetesClusterActionWorker.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,7 @@ protected boolean createCloudStackSecret(String[] keys) {
681681

682682
try {
683683
String command = String.format("sudo %s/%s -u '%s' -k '%s' -s '%s'",
684-
scriptPath, deploySecretsScriptFilename, ApiServiceConfiguration.ApiServletPath.value(), keys[0], keys[1]);
684+
scriptPath, deploySecretsScriptFilename, ApiServiceConfiguration.getApiServletPathValue(), keys[0], keys[1]);
685685
Account account = accountDao.findById(kubernetesCluster.getAccountId());
686686
if (account != null && account.getType() == Account.Type.PROJECT) {
687687
String projectId = projectService.findByProjectAccountId(account.getId()).getUuid();

server/src/main/java/com/cloud/network/lb/LoadBalancingRulesManagerImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ private LbAutoScaleVmGroup getLbAutoScaleVmGroup(AutoScaleVmGroupVO vmGroup, Aut
361361
}
362362

363363
LbAutoScaleVmProfile lbAutoScaleVmProfile =
364-
new LbAutoScaleVmProfile(autoScaleVmProfile, apiKey, secretKey, ApiServiceConfiguration.ApiServletPath.value(), zoneId, domainId, serviceOfferingId, templateId,
364+
new LbAutoScaleVmProfile(autoScaleVmProfile, apiKey, secretKey, ApiServiceConfiguration.getApiServletPathValue(), zoneId, domainId, serviceOfferingId, templateId,
365365
vmName, lbNetworkUuid);
366366
return new LbAutoScaleVmGroup(vmGroup, autoScalePolicies, lbAutoScaleVmProfile, currentState);
367367
}

0 commit comments

Comments
 (0)