Skip to content

Commit

Permalink
Merge pull request #11718 from pravisankar/net-diag-fix-msg
Browse files Browse the repository at this point in the history
Merged by openshift-bot
  • Loading branch information
OpenShift Bot authored Nov 4, 2016
2 parents 3963b51 + 7447531 commit 4a2aa97
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docs/man/man1/oadm-diagnostics.1
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ The available diagnostic names are: AggregatedLogging, AnalyzeLogs, ClusterRegis

.PP
\fB\-\-network\-logdir\fP="/tmp/openshift/"
Path to store network diagnostic results
Path to store network diagnostic results in case of errors

.PP
\fB\-\-node\-config\fP=""
Expand Down
2 changes: 1 addition & 1 deletion docs/man/man1/oc-adm-diagnostics.1
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ The available diagnostic names are: AggregatedLogging, AnalyzeLogs, ClusterRegis

.PP
\fB\-\-network\-logdir\fP="/tmp/openshift/"
Path to store network diagnostic results
Path to store network diagnostic results in case of errors

.PP
\fB\-\-node\-config\fP=""
Expand Down
2 changes: 1 addition & 1 deletion docs/man/man1/openshift-admin-diagnostics.1
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ The available diagnostic names are: AggregatedLogging, AnalyzeLogs, ClusterRegis

.PP
\fB\-\-network\-logdir\fP="/tmp/openshift/"
Path to store network diagnostic results
Path to store network diagnostic results in case of errors

.PP
\fB\-\-node\-config\fP=""
Expand Down
2 changes: 1 addition & 1 deletion docs/man/man1/openshift-cli-adm-diagnostics.1
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ The available diagnostic names are: AggregatedLogging, AnalyzeLogs, ClusterRegis

.PP
\fB\-\-network\-logdir\fP="/tmp/openshift/"
Path to store network diagnostic results
Path to store network diagnostic results in case of errors

.PP
\fB\-\-node\-config\fP=""
Expand Down
2 changes: 1 addition & 1 deletion docs/man/man1/openshift-ex-diagnostics.1
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ The available diagnostic names are: AggregatedLogging, AnalyzeLogs, ClusterRegis

.PP
\fB\-\-network\-logdir\fP="/tmp/openshift/"
Path to store network diagnostic results
Path to store network diagnostic results in case of errors

.PP
\fB\-\-node\-config\fP=""
Expand Down
4 changes: 2 additions & 2 deletions pkg/cmd/admin/diagnostics/diagnostics.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ type DiagnosticsOptions struct {
ImageTemplate variable.ImageTemplate
// When true, prevent diagnostics from changing API state (e.g. creating something)
PreventModification bool
// Path to store network diagnostic results
// Path to store network diagnostic results in case of errors
NetworkDiagLogDir string
// We need a factory for creating clients. Creating a factory
// creates flags as a byproduct, most of which we don't want.
Expand Down Expand Up @@ -132,7 +132,7 @@ func NewCmdDiagnostics(name string, fullName string, out io.Writer) *cobra.Comma
cmd.Flags().StringVar(&o.ImageTemplate.Format, options.FlagImageTemplateName, o.ImageTemplate.Format, "Image template for DiagnosticPod to use in creating a pod")
cmd.Flags().BoolVar(&o.ImageTemplate.Latest, options.FlagLatestImageName, false, "When expanding the image template, use latest version, not release version")
cmd.Flags().BoolVar(&o.PreventModification, options.FlagPreventModificationName, false, "May be set to prevent diagnostics making any changes via the API")
cmd.Flags().StringVar(&o.NetworkDiagLogDir, options.FlagNetworkDiagLogDir, netutil.NetworkDiagDefaultLogDir, "Path to store network diagnostic results")
cmd.Flags().StringVar(&o.NetworkDiagLogDir, options.FlagNetworkDiagLogDir, netutil.NetworkDiagDefaultLogDir, "Path to store network diagnostic results in case of errors")
flagtypes.GLog(cmd.Flags())
options.BindLoggerOptionFlags(cmd.Flags(), o.LogOptions, options.RecommendedLoggerOptionFlags())

Expand Down

0 comments on commit 4a2aa97

Please sign in to comment.