Skip to content

Commit 14e38d6

Browse files
Merge pull request #20619 from soltysh/bug1612031
Wire factory to DiagnosticsOptions
2 parents f0d7e2d + a442b46 commit 14e38d6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/oc/cli/admin/diagnostics/diagnostics.go

+1
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ func NewCmdDiagnostics(name string, fullName string, f genericclioptions.RESTCli
111111
RequestedDiagnostics: available.Names().Difference(defaultSkipDiagnostics()),
112112
ParameterizedDiagnostics: types.NewParameterizedDiagnosticMap(available...),
113113
LogOptions: &log.LoggerOptions{Out: streams.Out},
114+
Factory: f,
114115
}
115116

116117
cmd := &cobra.Command{

0 commit comments

Comments
 (0)