Skip to content

Commit 046a74c

Browse files
committed
SOLTYSH: significant changes to diagnostic wiring
1 parent fbb407f commit 046a74c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/oc/admin/diagnostics/diagnostics.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ func (o *DiagnosticsOptions) bindCommonFlags(flags *flag.FlagSet) {
222222

223223
// bind flags that are necessary for setting up an API client
224224
func (o *DiagnosticsOptions) bindClientFlags(flags *flag.FlagSet) {
225-
o.ClientFlags = flag.NewFlagSet("client", flag.ContinueOnError) // hide the extensive set of client flags
225+
o.ClientFlags = flags
226226
flags.StringVar(&o.ClientClusterContext, options.FlagClusterContextName, "", "Client context to use for cluster administrator")
227227
flags.BoolVar(&o.PreventModification, options.FlagPreventModificationName, false, "If true, may be set to prevent diagnostics making any changes via the API")
228228
}

0 commit comments

Comments
 (0)