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

Fix #1130: Validate task workflow and schedule when creating task request. #1183

Merged
merged 1 commit into from
Sep 7, 2016
Merged

Conversation

geauxvirtual
Copy link
Contributor

Fixes #1130

Summary of changes:

  • Validates workflow to not be nil or empty
  • Validate schedule to not be nil or empty

Testing done:

  • Validated proper error was returned when trying to create a task without a workflow or schedule.
  • Verified tests pass.

@intelsdi-x/snap-maintainers

request.

@candysmurf
Copy link
Contributor

👍 , LGTM

@candysmurf candysmurf merged commit f3cd21f into intelsdi-x:master Sep 7, 2016
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.

2 participants