Skip to content

Commit

Permalink
fixed error
Browse files Browse the repository at this point in the history
  • Loading branch information
qrnvttrl committed Feb 14, 2024
1 parent d2e161d commit 737d74f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions cmd/internal/database/localfs/localfs.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion integration/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 737d74f

Please sign in to comment.