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

Sort output of agent-info #617

Merged
merged 4 commits into from
Dec 21, 2015
Merged

Sort output of agent-info #617

merged 4 commits into from
Dec 21, 2015

Conversation

dadgar
Copy link
Contributor

@dadgar dadgar commented Dec 21, 2015

Sorting output of agent-info makes it much more user-friendly.

@dadgar dadgar mentioned this pull request Dec 21, 2015
dadgar added a commit that referenced this pull request Dec 21, 2015
@dadgar dadgar merged commit bcb2ef0 into master Dec 21, 2015
@dadgar dadgar deleted the f-agent-info-sort branch December 21, 2015 23:13
d, _ := data.(map[string]interface{})
for k, v := range d {
c.Ui.Output(fmt.Sprintf(" %s = %v", k, v))
for _, key := range statsDataKeys {
Copy link
Contributor

Choose a reason for hiding this comment

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

key is shadowed in a few places. It's obviously using the inner value but the shadowing is a bit awkward. Can we change these variables names so they don't shadow?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Feel free to just commit to master making the desired name changes @cbednarski

@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 30, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants