Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unreachable code in util/tls/tls.go #6950

Closed
chavacava opened this issue Oct 15, 2021 · 1 comment · Fixed by #6960
Closed

Unreachable code in util/tls/tls.go #6950

chavacava opened this issue Oct 15, 2021 · 1 comment · Fixed by #6960

Comments

@chavacava
Copy link
Contributor

if err != nil {
log.Fatal(err)
os.Exit(2)
}

The os.Exit(2) function call is unreachable.

(Found by revive rule unreachable-code)

@alexec
Copy link
Contributor

alexec commented Oct 18, 2021

Would you like to fix?

alexec pushed a commit that referenced this issue Oct 18, 2021
@sarabala1979 sarabala1979 mentioned this issue Oct 21, 2021
24 tasks
kriti-sc pushed a commit to kriti-sc/argo-workflows that referenced this issue Oct 24, 2021
@alexec alexec mentioned this issue Nov 5, 2021
25 tasks
alexec pushed a commit that referenced this issue Nov 17, 2021
@sarabala1979 sarabala1979 mentioned this issue Dec 15, 2021
73 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants