mirror of
https://github.com/kubescape/kubescape.git
synced 2026-04-15 06:58:11 +00:00
refactor!: rename "NewARMOAPIStaging" to "NewKSCloudAPIStaging"
This commit is contained in:
+1
-1
@@ -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:
|
||||
|
||||
@@ -83,7 +83,7 @@ func NewKSCloudAPIProd() *KSCloudAPI {
|
||||
return apiObj
|
||||
}
|
||||
|
||||
func NewARMOAPIStaging() *KSCloudAPI {
|
||||
func NewKSCloudAPIStaging() *KSCloudAPI {
|
||||
apiObj := newArmoAPI()
|
||||
|
||||
apiObj.apiURL = ksCloudStageBEURL
|
||||
|
||||
Reference in New Issue
Block a user