Skip to content
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.

snapctl should return a better error if a task manifest is passed in without a schedule #1129

Closed
geauxvirtual opened this issue Aug 8, 2016 · 0 comments

Comments

@geauxvirtual
Copy link
Contributor

Currently, if a task manifest does not include a schedule, snapctl will return runtime error: invalid memory address or nil pointer dereference. When creating a task, there is no validation that the task manifest passed in included a schedule. An error should be returned to the user saying the task manifest needs to include a schedule instead of a vague runtime error.

jcooklin added a commit that referenced this issue Aug 26, 2016
Fix #1129 - Add schedule validation check for task manifests in snapctl
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants