snapshots: Handle as separate components
This commit is contained in:
parent
698f04e13e
commit
3b112f1b8e
27 changed files with 960 additions and 789 deletions
|
|
@ -131,13 +131,13 @@ func (si systemupdate) Run(context wisski_distillery.Context) error {
|
|||
|
||||
return nil
|
||||
},
|
||||
}, dis.Installables())
|
||||
}, dis.Installable())
|
||||
}, context.IOStream, "Performing Stack Updates"); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
if err := logging.LogOperation(func() error {
|
||||
for _, component := range dis.Updateable() {
|
||||
for _, component := range dis.Updatable() {
|
||||
name := component.Name()
|
||||
if err := logging.LogOperation(func() error {
|
||||
return component.Update(context.IOStream)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue