mirror of
https://github.com/portainer/portainer.git
synced 2025-08-02 20:35:25 +02:00
feat(api): do not set down status if an error is raised during snapshot at startup
This commit is contained in:
parent
76e1aa97e2
commit
3306cbaa27
1 changed files with 0 additions and 1 deletions
|
@ -362,7 +362,6 @@ func snapshotAndPersistEndpoint(endpoint *portainer.Endpoint, endpointService po
|
|||
endpoint.Status = portainer.EndpointStatusUp
|
||||
if err != nil {
|
||||
log.Printf("http error: endpoint snapshot error (endpoint=%s, URL=%s) (err=%s)\n", endpoint.Name, endpoint.URL, err)
|
||||
endpoint.Status = portainer.EndpointStatusDown
|
||||
}
|
||||
|
||||
if snapshot != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue