Skip to content

Commit

Permalink
Merge pull request #3150 from buildkite/nil-pointer-executor-103
Browse files Browse the repository at this point in the history
Fix nil pointer deref on executor.go:103
  • Loading branch information
DrJosh9000 authored Jan 7, 2025
2 parents 5d2a256 + a56597c commit b6015a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/job/executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ func (e *Executor) Run(ctx context.Context) (exitCode int) {

socket := &kubernetes.Client{ID: e.KubernetesContainerID}
if err := e.kubernetesSetup(ctx, environ, socket); err != nil {
e.shell.Errorf("Failed to start kubernetes socket client: %v", err)
tempLog.Errorf("Failed to start kubernetes socket client: %v", err)
return 1
}

Expand Down

0 comments on commit b6015a8

Please sign in to comment.