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

Calling pushgaetway functions still requires passing 2 arguments (args and callback) #468

Closed
Landria opened this issue Sep 29, 2021 · 3 comments

Comments

@Landria
Copy link

Landria commented Sep 29, 2021

Pushgateway got promisified In v14.0.0, but it still requires a callback when you call it.
It comes from here:

callback: (error?: Error, httpResponse?: any, body?: any) => void,

@Landria Landria changed the title Calling pushgaetway functions still require passing 2 arguments (args and callback) Calling pushgaetway functions still requires passing 2 arguments (args and callback) Sep 29, 2021
@SimenB
Copy link
Collaborator

SimenB commented Sep 29, 2021

Wanna send a PR fixing it? 🙂

@miclud
Copy link

miclud commented Oct 21, 2021

Wasn't this fixed in #469?
Still yet to be released though ref. #473

@SimenB SimenB closed this as completed Nov 3, 2021
@SimenB
Copy link
Collaborator

SimenB commented Nov 3, 2021

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

No branches or pull requests

3 participants