mirror of
https://github.com/portainer/portainer.git
synced 2025-07-19 13:29:41 +02:00
fix(kubernetes): kube env permissions when down [EE-5427] (#10327)
This commit is contained in:
parent
cc37ccfe4d
commit
14853f6da0
18 changed files with 282 additions and 103 deletions
|
@ -34,6 +34,7 @@ type testDatastore struct {
|
|||
user dataservices.UserService
|
||||
version dataservices.VersionService
|
||||
webhook dataservices.WebhookService
|
||||
pendingActionsService dataservices.PendingActionsService
|
||||
}
|
||||
|
||||
func (d *testDatastore) BackupTo(io.Writer) error { return nil }
|
||||
|
@ -82,6 +83,10 @@ func (d *testDatastore) User() dataservices.UserService { re
|
|||
func (d *testDatastore) Version() dataservices.VersionService { return d.version }
|
||||
func (d *testDatastore) Webhook() dataservices.WebhookService { return d.webhook }
|
||||
|
||||
func (d *testDatastore) PendingActions() dataservices.PendingActionsService {
|
||||
return d.pendingActionsService
|
||||
}
|
||||
|
||||
func (d *testDatastore) IsErrObjectNotFound(e error) bool {
|
||||
return false
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue