fix(kube): fixed kube config download info issue. (#6386)

pull/6414/head
fhanportainer 2022-01-18 10:30:08 +13:00 committed by GitHub
parent 1b1a50d6b5
commit bc70198102
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ function KubernetesConfigFactory($http, EndpointProvider, API_ENDPOINT_KUBERNETE
return $http({
method: 'GET',
url: `${API_ENDPOINT_KUBERNETES}/config`,
params: { ids: environmentIDs.map((x) => parseInt(x)) },
params: { ids: JSON.stringify(environmentIDs.map((x) => parseInt(x))) },
responseType: 'blob',
headers: {
Accept: 'text/yaml',