mirror of
https://github.com/bingohuang/docker-labs.git
synced 2025-07-14 01:57:32 +08:00
Add new parameter due to API change
This commit is contained in:
parent
499245efb2
commit
8b00e7d132
@ -79,7 +79,7 @@ func SetInstanceSwarmPorts(i *Instance) error {
|
||||
services[t.ServiceID] = []uint16{}
|
||||
}
|
||||
for serviceID, _ := range services {
|
||||
s, _, err := i.dockerClient.ServiceInspectWithRaw(context.Background(), serviceID)
|
||||
s, _, err := i.dockerClient.ServiceInspectWithRaw(context.Background(), serviceID, types.ServiceInspectOptions{})
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user