refactor!: core/list: rename armoAPI to ksCloudAPI

This commit is contained in:
Vlad Klokun
2022-08-18 15:19:04 +03:00
parent 7407cbb4fb
commit 0be1acfe72
+2 -2
View File
@@ -66,8 +66,8 @@ func listExceptions(listPolicies *metav1.ListPolicies) ([]string, error) {
getTenantConfig(&listPolicies.Credentials, "", getKubernetesApi())
var exceptionsNames []string
armoAPI := getExceptionsGetter("")
exceptions, err := armoAPI.GetExceptions("")
ksCloudAPI := getExceptionsGetter("")
exceptions, err := ksCloudAPI.GetExceptions("")
if err != nil {
return exceptionsNames, err
}