Skip to content
This repository was archived by the owner on Aug 17, 2020. It is now read-only.

Conversation

@tonyredondo
Copy link
Contributor

To avoid an staticcheck error (https://staticcheck.io/docs/) this PR removes the unused variable.

➜  go-agent git:(master) ✗ ~/go/bin/staticcheck
init.go:22:2: var defaultAgent is unused (U1000)

with this PR:

➜  go-agent git:(master) ✗ ~/go/bin/staticcheck -f stylish               
 ✖ 0 problems (0 errors, 0 warnings, 0 ignored)

➜  go-agent git:(master) ✗ ~/go/bin/staticcheck -f stylish -show-ignored
 ✖ 0 problems (0 errors, 0 warnings, 0 ignored)

@tonyredondo tonyredondo self-assigned this May 11, 2020
@tonyredondo tonyredondo requested a review from fermayo May 11, 2020 17:03
@tonyredondo tonyredondo merged commit b31b781 into master May 12, 2020
@tonyredondo tonyredondo deleted the remove-unused-vars branch May 12, 2020 07:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants