Skip to content

Commit

Permalink
Fix linting issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ibuildthecloud committed Feb 10, 2024
1 parent 51d17ef commit 5174792
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/engine/daemon.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func getPath(instructions string) (string, string) {
return strings.TrimSpace(rest), strings.TrimSpace(value)
}

func (e *Engine) startDaemon(ctx context.Context, tool types.Tool) (string, error) {
func (e *Engine) startDaemon(_ context.Context, tool types.Tool) (string, error) {
daemonLock.Lock()
defer daemonLock.Unlock()

Expand All @@ -85,7 +85,7 @@ func (e *Engine) startDaemon(ctx context.Context, tool types.Tool) (string, erro
daemonCtx, daemonClose = context.WithCancel(context.Background())
}

ctx = daemonCtx
ctx := daemonCtx
port = e.getNextPort()
url = fmt.Sprintf("http://127.0.0.1:%d%s", port, path)

Expand Down

0 comments on commit 5174792

Please sign in to comment.