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 -hostname to -server #48

Merged
merged 2 commits into from
May 12, 2020
Merged

Conversation

robertodauria
Copy link
Contributor

@robertodauria robertodauria commented May 12, 2020

The rationale is that when we start using ArgsFromEnv(), the default env variable named HOSTNAME will end up as the flag value, which obviously isn't what we want. It likely wasn't a great naming choice to start with. :)

This is a change we've already applied to ndt5-client-go.


This change is Reviewable

This is a change we've already applied to ndt5-client-go. The rationale
is that if we ever start using ArgsFromEnv(), the default env variable
named HOSTNAME will end up as the flag value, which obviously isn't
what we want.
@pboothe pboothe requested review from pboothe and removed request for stephen-soltesz May 12, 2020 14:55
Copy link
Contributor

@pboothe pboothe left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 2 of 2 files at r1.
Reviewable status: :shipit: complete! 1 of 1 approvals obtained (waiting on @pboothe)

@robertodauria robertodauria merged commit 78af900 into master May 12, 2020
@robertodauria robertodauria deleted the sandbox-roberto-rename-flag branch May 12, 2020 14:59
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