Skip to content
This repository has been archived by the owner on Oct 17, 2023. It is now read-only.

This makes the api in the config.yaml optional #15

Merged
merged 1 commit into from
Dec 19, 2014
Merged

Conversation

nstott
Copy link
Contributor

@nstott nstott commented Dec 19, 2014

default to a 60s interval if no interval is passed in.
if no config.API.URI is passed in then use an events.NoopEmitter instead of an HttpPostEmitter when building the pipeline.
the default interval is needed, because we need an interval on the pipeline constructor, whether or not we use it
fixes #13
fixes #14

…PI.URI is passed in then use an events.NoopEmitter instead of an HttpPostEmitter. fixes #13 fixes #14
@jipperinbham
Copy link
Contributor

👍

nstott added a commit that referenced this pull request Dec 19, 2014
This makes the api in the config.yaml optional
@nstott nstott merged commit 664bf78 into master Dec 19, 2014
@nstott nstott deleted the 13-optionalapi branch December 19, 2014 16:08
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.

Not specifying API URI generates multiple errors api configuration should be optional
2 participants