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

Fixes #1229: Empty metric catalog no longer errors #1232

Merged
merged 1 commit into from
Sep 28, 2016

Conversation

IRCody
Copy link
Contributor

@IRCody IRCody commented Sep 23, 2016

Fixes #1229

Summary of changes:

Empty metric catalog no longer logs or returns an error when queried
via the rest API (or any other method). Will instead return an empty
list of metrics, leaving choice of how to display that to the caller.

Removes the empty metric catalog error and modifies client_func_test to
reflect the changes in behavior.

Testing done:

  • make test-{small,medium, legacy}
  • Manual verification that snapctl metric list doesn't cause error to be logged

@intelsdi-x/snap-maintainers

Empty metric catalog no longer logs or returns an error when queried
via the rest API (or any other method). Will instead return an empty
list of metrics, leaving choice of how to display that to the caller.

Removes the empty metric catalog error and modifies client_func_test to
reflect the changes in behavior.
@candysmurf
Copy link
Contributor

LGTM

Copy link
Collaborator

@jcooklin jcooklin left a comment

Choose a reason for hiding this comment

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

LGTM

@IRCody IRCody merged commit 8fd4664 into intelsdi-x:master Sep 28, 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.

3 participants