forked from influxdata/kapacitor
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PR influxdata#443: Add support to a Validation phase to the task life…
…cycle. It is better if we can detect and report configuration errors of task pipeline early, during task definition, rather than deferring such checks to runtime (when this is possible). To support such checks, we add a Validate() error method to the pipeline.Node() interface which gives pipeline nodes a chance to validate their configuration. Any pipeline containing nodes that do not pass these test cannot be saved. Signed-off-by: Jon Seymour <[email protected]>
- Loading branch information
1 parent
c3cad29
commit 9b88fa3
Showing
2 changed files
with
13 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters