Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid tags exceptions #3

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Invalid tags exceptions #3

wants to merge 2 commits into from

Conversation

born4new
Copy link
Contributor

@born4new born4new commented Nov 3, 2016

Background

OpenTSDB needs at least one tag when making a query. if none are provided, it will raise an error.

What's new?

  • Will raise an error if we try to pass invalid tags (no tags key, empty tags or not a valid Hash)
  • Updated the README to reflect the fact that we can query for multiple metrics.
  • Updated the client specs.

let(:socket) { double('socket').as_null_object }
let(:client) { described_class.new }
let(:socket) { double('socket').as_null_object }
let(:client) { described_class.new }

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a need for the indents, or was this a mistake?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was a mistake. I removed them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants