1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-23 07:19:41 +02:00

fix: fix occurred typo [EE-4536] (#7994)

This commit is contained in:
Chaim Lev-Ari 2022-11-08 07:30:37 +02:00 committed by GitHub
parent 193e0c7d6f
commit a0237852ef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 8 additions and 8 deletions

View file

@ -385,7 +385,7 @@ func (handler *Handler) createEdgeAgentEndpoint(payload *endpointCreatePayload)
err = handler.saveEndpointAndUpdateAuthorizations(endpoint)
if err != nil {
return nil, httperror.InternalServerError("An error occured while trying to create the environment", err)
return nil, httperror.InternalServerError("An error occurred while trying to create the environment", err)
}
return endpoint, nil
@ -515,7 +515,7 @@ func (handler *Handler) snapshotAndPersistEndpoint(endpoint *portainer.Endpoint)
err = handler.saveEndpointAndUpdateAuthorizations(endpoint)
if err != nil {
return httperror.InternalServerError("An error occured while trying to create the environment", err)
return httperror.InternalServerError("An error occurred while trying to create the environment", err)
}
return nil