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)
},

View file

@ -14,7 +14,7 @@ import (
"github.com/FAU-CDI/wisski-distillery/pkg/fsx"
"github.com/FAU-CDI/wisski-distillery/pkg/logging"
"github.com/FAU-CDI/wisski-distillery/pkg/targz"
"github.com/tkw1536/goprogram/status"
"github.com/tkw1536/pkglib/status"
)
// ExportTask describes a task that makes either a [Backup] or a [Snapshot].

View file

@ -12,8 +12,8 @@ import (
"github.com/FAU-CDI/wisski-distillery/internal/wisski"
"github.com/FAU-CDI/wisski-distillery/internal/wisski/ingredient/locker"
"github.com/FAU-CDI/wisski-distillery/pkg/logging"
"github.com/tkw1536/goprogram/status"
"github.com/tkw1536/pkglib/collection"
"github.com/tkw1536/pkglib/status"
"golang.org/x/exp/slices"
)
@ -113,7 +113,7 @@ func (snapshot *Snapshot) makeParts(ctx context.Context, progress io.Writer, sna
results := make(map[string]error, len(comps))
errors := status.Group[component.Snapshotable, error]{
errors, _ := status.Group[component.Snapshotable, error]{
PrefixString: func(item component.Snapshotable, index int) string {
return fmt.Sprintf("[snapshot %q]: ", item.Name())
},

View file

@ -10,8 +10,8 @@ import (
"time"
"github.com/gorilla/websocket"
"github.com/tkw1536/goprogram/status"
"github.com/tkw1536/pkglib/httpx"
"github.com/tkw1536/pkglib/status"
)
// ActionMap handles a set of WebSocket actions

View file

@ -6,7 +6,7 @@ import (
"io"
"github.com/FAU-CDI/wisski-distillery/internal/dis/component"
"github.com/tkw1536/goprogram/stream"
"github.com/tkw1536/pkglib/stream"
)
var errSQLBackup = errors.New("`SQLBackup': mysqldump returned non-zero exit code")

View file

@ -6,7 +6,7 @@ import (
"github.com/FAU-CDI/wisski-distillery/internal/dis/component"
"github.com/FAU-CDI/wisski-distillery/internal/models"
"github.com/tkw1536/goprogram/stream"
"github.com/tkw1536/pkglib/stream"
)
func (*SQL) SnapshotNeedsRunning() bool { return false }

View file

@ -10,8 +10,8 @@ import (
"github.com/FAU-CDI/wisski-distillery/pkg/logging"
"github.com/tkw1536/goprogram/exit"
"github.com/tkw1536/goprogram/stream"
"github.com/tkw1536/pkglib/sqlx"
"github.com/tkw1536/pkglib/stream"
"github.com/tkw1536/pkglib/timex"
)

View file

@ -14,7 +14,7 @@ import (
"github.com/FAU-CDI/wisski-distillery/pkg/fsx"
"github.com/FAU-CDI/wisski-distillery/pkg/unpack"
"github.com/pkg/errors"
"github.com/tkw1536/goprogram/stream"
"github.com/tkw1536/pkglib/stream"
)
// Stack represents a 'docker compose' stack living in a specific directory