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

Fixing lint errors, adding lint check to CI #7

Merged
merged 1 commit into from
Dec 20, 2023
Merged

Fixing lint errors, adding lint check to CI #7

merged 1 commit into from
Dec 20, 2023

Conversation

autodidaddict
Copy link
Contributor

IMHO there are a number of spots where making the linter happy re: error checking makes the resulting Go code uglier, but I do want to have a linter run for the builds. Maybe we can either clean up the code or clean up the linting rules later.

_, err := node.nc.Subscribe(subject, handleWorkDispatched(node))
if err != nil {
LogError(fmt.Sprintf("Failed to subscribe to work dispatch: %s", err))
// if the agent can't subscribe to work dispatch, the agent/VM is useless
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏻

Copy link
Contributor

@kthomas kthomas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kthomas kthomas merged commit 25e86ca into main Dec 20, 2023
1 check passed
@kthomas kthomas deleted the fix/lint branch December 20, 2023 14:56
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 this pull request may close these issues.

2 participants