From efb3144d1c7b977b121f5ab881af3b8336f30ad8 Mon Sep 17 00:00:00 2001 From: Luiz Aoqui Date: Mon, 17 Jan 2022 21:09:12 -0500 Subject: [PATCH] minor fixes --- command/operator_debug.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/command/operator_debug.go b/command/operator_debug.go index f6170b34d9c0..c6fc6cfa1a33 100644 --- a/command/operator_debug.go +++ b/command/operator_debug.go @@ -77,7 +77,7 @@ Usage: nomad operator debug [options] 'list-jobs' capability for all namespaces. To collect pprof profiles the token will also require 'agent:write', or enable_debug configuration set to true. - + If event stream capture is enabled, the Job, Allocation, Deployment, and Evaluation topics require 'namespace:read-job' capabilities, the Node topic requires 'node:read'. A 'management' token is required to capture @@ -153,7 +153,7 @@ Debug Options: Specifies the index to start streaming events from. If the requested index is no longer in the buffer the stream will start at the next available index. Defaults to 0. - + -event-topic=: Enable event stream capture, filtered by comma delimited list of topic filters. Examples: @@ -212,8 +212,8 @@ func (c *OperatorDebugCommand) AutocompleteFlags() complete.Flags { return mergeAutocompleteFlags(c.Meta.AutocompleteFlags(FlagSetClient), complete.Flags{ "-duration": complete.PredictAnything, - "-event-topic": complete.PredictAnything, "-event-index": complete.PredictAnything, + "-event-topic": complete.PredictAnything, "-interval": complete.PredictAnything, "-log-level": complete.PredictSet("TRACE", "DEBUG", "INFO", "WARN", "ERROR"), "-max-nodes": complete.PredictAnything,