mirror of
https://github.com/portainer/portainer.git
synced 2025-07-22 14:59:41 +02:00
feat(api): only error on ping failure for snapshots (#3177)
This commit is contained in:
parent
baa64ca927
commit
a5e5983c28
2 changed files with 11 additions and 10 deletions
|
@ -24,5 +24,5 @@ func (snapshotter *Snapshotter) CreateSnapshot(endpoint *portainer.Endpoint) (*p
|
|||
}
|
||||
defer cli.Close()
|
||||
|
||||
return snapshot(cli)
|
||||
return snapshot(cli, endpoint)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue