update config api

This commit is contained in:
dwertent
2021-11-01 13:52:40 +02:00
parent a99d2e9e26
commit d5b60c6ac8
3 changed files with 8 additions and 3 deletions
+5
View File
@@ -44,6 +44,11 @@ Want to contribute? Want to discuss something? Have an issue?
# Options and examples
## Tutorials
* [Overview](https://youtu.be/wdBkt_0Qhbg)
* [Scanning Kubernetes YAML files](https://youtu.be/Ox6DaR7_4ZI)
## Install on Windows
**Requires powershell v5.0+**
+1 -1
View File
@@ -39,7 +39,7 @@ func (armoAPI *ArmoAPI) getAccountConfig(customerGUID, clusterName string) strin
u := url.URL{}
u.Scheme = "https"
u.Host = armoAPI.apiURL
u.Path = "api/v1/customerConfiguration"
u.Path = "api/v1/armoCustomerConfiguration"
q := u.Query()
q.Add("customerGUID", customerGUID)
+2 -2
View File
@@ -8,7 +8,7 @@ def get_exec_from_args(args: list):
def run_command(command):
try:
return str(subprocess.check_output(command))
return f"{subprocess.check_output(command)}"
except Exception as e:
return e
return f"{e}"