Skip to content

fix getMetricsAsArray type#477

Merged
zbjornson merged 3 commits into
siimon:masterfrom
thierrylamarre:master
Nov 13, 2021
Merged

fix getMetricsAsArray type#477
zbjornson merged 3 commits into
siimon:masterfrom
thierrylamarre:master

Conversation

@thierrylamarre
Copy link
Copy Markdown
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
Copy Markdown
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!

Comment thread CHANGELOG.md Outdated
Copy link
Copy Markdown
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