mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-02 14:26:23 -04:00
cli: move upgradeApply logic into separate functions
* introduce handleImageUpgrade & handleServiceUpgrade * rename cloudUpgrader.Upgrade to UpgradeImage * remove helm flag * remove hint about development status
This commit is contained in:
parent
91e27ac186
commit
7db584a88e
3 changed files with 37 additions and 40 deletions
|
@ -72,7 +72,7 @@ type stubUpgrader struct {
|
|||
helmErr error
|
||||
}
|
||||
|
||||
func (u stubUpgrader) Upgrade(context.Context, string, string, measurements.M) error {
|
||||
func (u stubUpgrader) UpgradeImage(context.Context, string, string, measurements.M) error {
|
||||
return u.err
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue