1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-24 15:59:41 +02:00

fix(frontend): override configuration keys disappear (#4547) (#4560)

Co-authored-by: Simon Meng <simon.meng@portainer.io>
This commit is contained in:
cong meng 2020-12-10 15:13:02 +13:00 committed by GitHub
parent 890bbf4058
commit 1ad4623b08
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -118,7 +118,7 @@ class KubernetesApplicationConverter {
res.PublishedPorts = ports;
}
if (data.spec.templates) {
if (data.spec.template) {
res.Volumes = data.spec.template.spec.volumes ? data.spec.template.spec.volumes : [];
} else {
res.Volumes = data.spec.volumes;