Update dependencies

This commit is contained in:
Tom Wiesing 2023-03-15 19:45:50 +01:00
parent 0c888eab1c
commit 9b30223b09
No known key found for this signature in database
26 changed files with 35 additions and 35 deletions

View file

@ -12,7 +12,7 @@ import (
"github.com/FAU-CDI/wisski-distillery/pkg/fsx"
"github.com/FAU-CDI/wisski-distillery/pkg/logging"
"github.com/tkw1536/goprogram/status"
"github.com/tkw1536/pkglib/status"
"golang.org/x/exp/slices"
)
@ -84,7 +84,7 @@ func (backup *Backup) run(ctx context.Context, progress io.Writer, exporter *Exp
st.Start()
defer st.Stop()
errors := status.Group[component.Backupable, error]{
errors, _ := status.Group[component.Backupable, error]{
PrefixString: func(item component.Backupable, index int) string {
return fmt.Sprintf("[backup %q]: ", item.Name())
},
@ -131,7 +131,7 @@ func (backup *Backup) run(ctx context.Context, progress io.Writer, exporter *Exp
}
// make a backup of the snapshots
backup.InstanceSnapshots = status.Group[*wisski.WissKI, Snapshot]{
backup.InstanceSnapshots, _ = status.Group[*wisski.WissKI, Snapshot]{
PrefixString: func(item *wisski.WissKI, index int) string {
return fmt.Sprintf("[snapshot %q]: ", item.Slug)
},