diff --git a/cmd/internal/database/localfs/localfs.go b/cmd/internal/database/localfs/localfs.go index 7a861d3..9a52635 100644 --- a/cmd/internal/database/localfs/localfs.go +++ b/cmd/internal/database/localfs/localfs.go @@ -12,9 +12,8 @@ import ( ) type LocalFS struct { - datadir string - fileNames []string - log *slog.Logger + datadir string + log *slog.Logger } func New(log *slog.Logger, datadir string) *LocalFS { diff --git a/integration/main_test.go b/integration/main_test.go index 0f7c774..2b376a3 100644 --- a/integration/main_test.go +++ b/integration/main_test.go @@ -427,7 +427,7 @@ func execCommand(ctx context.Context, containerName string, cmd []string) (strin if err != nil { return "", "", err } - err = exec.StreamWithContext(context.Background(), remotecommand.StreamOptions{ + err = exec.StreamWithContext(ctx, remotecommand.StreamOptions{ Stdin: nil, Stdout: &stdout, Stderr: &stderr,