mirror of
https://github.com/portainer/portainer.git
synced 2025-07-24 15:59:41 +02:00
Co-authored-by: Simon Meng <simon.meng@portainer.io>
This commit is contained in:
parent
890bbf4058
commit
1ad4623b08
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue