mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-08-09 15:32:46 -04:00
move csp logic to cloudcmd (#2311)
This commit is contained in:
parent
25ba8ecfed
commit
0eb9ca2e18
3 changed files with 9 additions and 8 deletions
|
@ -136,7 +136,7 @@ func (u *upgradeApplyCmd) upgradeApply(cmd *cobra.Command, upgradeDir string, fl
|
|||
if err != nil {
|
||||
return err
|
||||
}
|
||||
if upgradeRequiresIAMMigration(conf.GetProvider()) {
|
||||
if cloudcmd.UpgradeRequiresIAMMigration(conf.GetProvider()) {
|
||||
cmd.Println("WARNING: This upgrade requires an IAM migration. Please make sure you have applied the IAM migration using `iam upgrade apply` before continuing.")
|
||||
if !flags.yes {
|
||||
yes, err := askToConfirm(cmd, "Did you upgrade the IAM resources?")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue