mirror of
https://github.com/portainer/portainer.git
synced 2025-08-04 21:35:23 +02:00
fix(rollback): reimplement rollback feature [EE-6367] (#10720)
This commit is contained in:
parent
0fce4c98a0
commit
93124f75cf
8 changed files with 310 additions and 365 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