refactor!: rename "NewARMOAPIStaging" to "NewKSCloudAPIStaging"

This commit is contained in:
Vlad Klokun
2022-08-18 15:18:14 +03:00
parent dcd4ac9703
commit 262c014cfe
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -68,7 +68,7 @@ func initEnvironment() {
case "dev", "development":
getter.SetKSCloudAPIConnector(getter.NewKSCloudAPIDev())
case "stage", "staging":
getter.SetKSCloudAPIConnector(getter.NewARMOAPIStaging())
getter.SetKSCloudAPIConnector(getter.NewKSCloudAPIStaging())
case "":
getter.SetKSCloudAPIConnector(getter.NewKSCloudAPIProd())
default:
+1 -1
View File
@@ -83,7 +83,7 @@ func NewKSCloudAPIProd() *KSCloudAPI {
return apiObj
}
func NewARMOAPIStaging() *KSCloudAPI {
func NewKSCloudAPIStaging() *KSCloudAPI {
apiObj := newArmoAPI()
apiObj.apiURL = ksCloudStageBEURL