mirror of
https://github.com/portainer/portainer.git
synced 2025-07-23 07:19:41 +02:00
fix(snapshots): remove the attempt to snapshot untrusted environments EE-7407 (#12044)
This commit is contained in:
parent
6eb9e906af
commit
66119a8b57
3 changed files with 6 additions and 5 deletions
|
@ -40,7 +40,7 @@ func (s *Service) Open(endpoint *portainer.Endpoint) error {
|
|||
return ErrAsyncEnv
|
||||
}
|
||||
|
||||
if endpoint.ID == 0 || endpoint.EdgeID == "" {
|
||||
if endpoint.ID == 0 || endpoint.EdgeID == "" || !endpoint.UserTrusted {
|
||||
return ErrInvalidEnv
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue