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

Go tool vet Fixes #74

Merged
merged 2 commits into from
Feb 17, 2019
Merged

Conversation

bensallen
Copy link
Contributor

Fixes found via go tool vet $(find -name \*.go | grep -v ^./vendor)

Appears to be one actual bug in core/ServiceManager.go, return was
before the state change.

Signed-off-by: Benjamin S. Allen bsallen@alcf.anl.gov

bensallen and others added 2 commits February 16, 2019 17:16
Fixes found via `go tool vet `find -name \*.go | grep -v ^./vendor``

Appears to be one actual bug in core/ServiceManager.go, return was
before the state change.

Signed-off-by: Benjamin S. Allen <bsallen@alcf.anl.gov>
@jlowellwofford
Copy link
Contributor

The catch in ServiceManager.go is good, but we want slightly different logic. We only want to set the state to RUN if the call to sm.start(s) succeeds. Fixed that up.

@jlowellwofford jlowellwofford merged commit e99f8ac into kraken-hpc:master Feb 17, 2019
@bensallen bensallen mentioned this pull request Feb 18, 2019
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.

None yet

2 participants