snapshots: Handle as separate components

This commit is contained in:
Tom Wiesing 2022-10-02 18:17:47 +02:00
parent 698f04e13e
commit 3b112f1b8e
No known key found for this signature in database
27 changed files with 960 additions and 789 deletions

View file

@ -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)