small fixes and cleanup
This commit is contained in:
parent
ed2a544502
commit
8d4b963151
|
@ -1,7 +1,6 @@
|
|||
## 0.6.1 (Unreleased)
|
||||
|
||||
IMPROVEMENTS:
|
||||
* cli: Add autocomplete functionality for flags for all CLI command [GH 3087]
|
||||
* core: Add autocomplete functionality for resources: allocations,
|
||||
evaluations, jobs, and nodes [GH-2964]
|
||||
* core: `distinct_property` constraint can set the number of allocations that
|
||||
|
@ -12,6 +11,7 @@ IMPROVEMENTS:
|
|||
* api: Redact Vault.Token from AgentSelf response [GH-2988]
|
||||
* cli: node-status displays node version [GH-3002]
|
||||
* cli: Disable color output when STDOUT is not a TTY [GH-3057]
|
||||
* cli: Add autocomplete functionality for flags for all CLI command [GH 3087]
|
||||
* client: Unmount task directories when alloc is terminal [GH-3006]
|
||||
* client/template: Allow template to set Vault grace [GH-2947]
|
||||
* client/template: Template emits events explaining why it is blocked [GH-3001]
|
||||
|
|
|
@ -61,12 +61,13 @@ func (c *AllocStatusCommand) Synopsis() string {
|
|||
}
|
||||
|
||||
func (c *AllocStatusCommand) AutocompleteFlags() complete.Flags {
|
||||
return complete.Flags{
|
||||
"-short": complete.PredictNothing,
|
||||
"-verbose": complete.PredictNothing,
|
||||
"-json": complete.PredictNothing,
|
||||
"-t": complete.PredictAnything,
|
||||
}
|
||||
return mergeAutocompleteFlags(c.Meta.AutocompleteFlags(FlagSetClient),
|
||||
complete.Flags{
|
||||
"-short": complete.PredictNothing,
|
||||
"-verbose": complete.PredictNothing,
|
||||
"-json": complete.PredictNothing,
|
||||
"-t": complete.PredictAnything,
|
||||
})
|
||||
}
|
||||
|
||||
func (c *AllocStatusCommand) AutocompleteArgs() complete.Predictor {
|
||||
|
|
|
@ -115,7 +115,7 @@ func (c *ClientConfigCommand) AutocompleteFlags() complete.Flags {
|
|||
return mergeAutocompleteFlags(c.Meta.AutocompleteFlags(FlagSetClient),
|
||||
complete.Flags{
|
||||
"-servers": complete.PredictNothing,
|
||||
"-update-servers": complete.PredictNothing,
|
||||
"-update-servers": complete.PredictAnything,
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@ Pause Options:
|
|||
}
|
||||
|
||||
func (c *DeploymentPauseCommand) Synopsis() string {
|
||||
return "Pause a deployment."
|
||||
return "Pause a deployment"
|
||||
}
|
||||
|
||||
func (c *DeploymentPauseCommand) AutocompleteFlags() complete.Flags {
|
||||
|
|
|
@ -48,7 +48,7 @@ Promote Options:
|
|||
}
|
||||
|
||||
func (c *DeploymentPromoteCommand) Synopsis() string {
|
||||
return "Promote canaries in a deployment."
|
||||
return "Promote canaries in a deployment"
|
||||
}
|
||||
|
||||
func (c *DeploymentPromoteCommand) AutocompleteFlags() complete.Flags {
|
||||
|
|
Loading…
Reference in New Issue