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

fix getMetricsAsArray type #477

Merged
merged 3 commits into from
Nov 13, 2021
Merged

fix getMetricsAsArray type #477

merged 3 commits into from
Nov 13, 2021

Conversation

thierrylamarre
Copy link
Contributor

This fixes the registry's getMetricsAsArray() function type.
It appears to be currently incorrect as it does not return a promise:

getMetricsAsArray() {
return Object.values(this._metrics);
}

Copy link
Collaborator

@zbjornson zbjornson left a comment

Choose a reason for hiding this comment

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

Thanks!

CHANGELOG.md Outdated Show resolved Hide resolved
Copy link
Collaborator

@zbjornson zbjornson left a comment

Choose a reason for hiding this comment

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

Thanks :)

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