Skip to content

Commit

Permalink
Fixing linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronH88 authored Oct 13, 2023
1 parent 8210706 commit 8becd14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/workceptor/kubernetes.go
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ func (kw *kubeUnit) kubeLoggingWithReconnect(streamWait *sync.WaitGroup, stdout
errMsg := fmt.Sprintf("Error getting pod %s/%s. Error: %s", podNamespace, podName, err)
kw.Error(errMsg)
kw.UpdateBasicStatus(WorkStateFailed, errMsg, 0)

break
}

Expand All @@ -244,7 +244,7 @@ func (kw *kubeUnit) kubeLoggingWithReconnect(streamWait *sync.WaitGroup, stdout
"Context was canceled while reading logs for pod %s/%s. Assuming pod has finished",
podNamespace,
podName)

return
}

Check warning on line 249 in pkg/workceptor/kubernetes.go

View check run for this annotation

Codecov / codecov/patch

pkg/workceptor/kubernetes.go#L242-L249

Added lines #L242 - L249 were not covered by tests
kw.Info(
Expand Down

0 comments on commit 8becd14

Please sign in to comment.