ausocean / ausocean/cloud

extStop should return error if OffActions is empty

Open
#409 0 comments 0 reactions 0 assignees View on GitHub
enhancement good first issue P2
Dominant language
Go
Stars
1
Forks
3
Avg merge
2d 16h
Merged PRs (30d)
6

Description

Currently if ```extStop``` finds that there are no off actions there is no logging and nil returned. However, extStops sole purpose is to stop the hardware. If this has been called and there are no off actions, then it seems erroneous to return nil as if there are no problems, when in fact stop couldn't happen. We should therefore return an error in this circumstance, and if we don't care we can just ignore this particular error.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.