-
Notifications
You must be signed in to change notification settings - Fork 2k
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
add prefix-search and auto-completion for scaling policy info
command
#9964
Conversation
@@ -115,7 +115,7 @@ func (c *AllocStatusCommand) Run(args []string) int { | |||
} | |||
|
|||
// If args not specified but output format is specified, format and output the allocations data list | |||
if len(args) == 0 && json || len(tmpl) > 0 { | |||
if len(args) == 0 && (json || len(tmpl) > 0) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we only want to do this if there were no args... previous parsing would go into list mode with args if template was specified, which i think was not the intended behavior. same below for eval status
and job inspect
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
I added a few notes, but nothing major.
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. |
also, i think there was some bad boolean logic in a few other info-like commands
resolves #9787