mirror of
https://github.com/portainer/portainer.git
synced 2025-08-09 15:55:23 +02:00
Revert "fix(rollback): reversed rollback code from 2.19.4 [EE-6435] (#10811)
* Revert "fix(rollback): reversed rollback code from 2.19.4 [EE-6435] (#10787)" * close the db before backup for windows shares and better error handling (#10809)
This commit is contained in:
parent
c20452492d
commit
c58fa274e7
9 changed files with 340 additions and 386 deletions
|
@ -2065,6 +2065,20 @@ const (
|
|||
OperationIntegrationStoridgeAdmin Authorization = "IntegrationStoridgeAdmin"
|
||||
)
|
||||
|
||||
// GetEditionLabel returns the portainer edition label
|
||||
func (e SoftwareEdition) GetEditionLabel() string {
|
||||
switch e {
|
||||
case PortainerCE:
|
||||
return "CE"
|
||||
case PortainerBE:
|
||||
return "BE"
|
||||
case PortainerEE:
|
||||
return "EE"
|
||||
}
|
||||
|
||||
return "CE"
|
||||
}
|
||||
|
||||
const (
|
||||
AzurePathContainerGroups = "/subscriptions/*/providers/Microsoft.ContainerInstance/containerGroups"
|
||||
AzurePathContainerGroup = "/subscriptions/*/resourceGroups/*/providers/Microsoft.ContainerInstance/containerGroups/*"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue