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

Rename function and update README with correct name #23

Merged
merged 2 commits into from
Jan 28, 2022

Conversation

chaudum
Copy link
Collaborator

@chaudum chaudum commented Jan 27, 2022

client.pushRandomized -> client.pushParameterized

https://github.com/grafana/xk6-loki/blob/main/client.go#L173

Signed-off-by: Christian Haudum christian.haudum@gmail.com

client.pushRandomized -> client.pushParametrized

Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
Copy link

@cyriltovena cyriltovena left a comment

Choose a reason for hiding this comment

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

LGTM

The latter spelling is more correct.
However, the old function name is still usable, but is undocumented and
logs a deprecation warning.

Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
@chaudum chaudum changed the title Fix incorrect function name in README Rename function and update README with correct name Jan 27, 2022
@chaudum
Copy link
Collaborator Author

chaudum commented Jan 27, 2022

Based on feedback from @KMiller-Grafana I renamed the function from pushParametrized() to pushParameterized(), see commit 983fb59

Copy link

@KMiller-Grafana KMiller-Grafana left a comment

Choose a reason for hiding this comment

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

My review has no standing, but LGTM. Thanks for the change.

Copy link

@cyriltovena cyriltovena left a comment

Choose a reason for hiding this comment

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

LGTM

@chaudum chaudum merged commit 3b1ad59 into main Jan 28, 2022
@chaudum chaudum deleted the chaudum/fix-function-name branch January 28, 2022 12:44
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.

None yet

3 participants