mirror of
https://github.com/portainer/portainer.git
synced 2025-08-02 20:35:25 +02:00
fix(services) - Fix exposed ports (#746)
This commit is contained in:
parent
a48503d821
commit
9fda8f9c92
1 changed files with 2 additions and 2 deletions
|
@ -53,8 +53,8 @@ function ServiceViewModel(data, runningTasks, nodes) {
|
|||
this.Command = containerSpec.Command;
|
||||
this.Secrets = containerSpec.Secrets;
|
||||
}
|
||||
if (data.Spec.EndpointSpec) {
|
||||
this.Ports = data.Spec.EndpointSpec.Ports;
|
||||
if (data.Endpoint) {
|
||||
this.Ports = data.Endpoint.Ports;
|
||||
}
|
||||
|
||||
this.Mounts = [];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue