Skip to content

Commit 8c71416

Browse files
committed
diagnostics README: correct package and command
1 parent 428abd8 commit 8c71416

File tree

1 file changed

+3
-3
lines changed
  • pkg/oc/admin/diagnostics/diagnostics

1 file changed

+3
-3
lines changed

pkg/oc/admin/diagnostics/diagnostics/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,15 @@ logic. This provides two major benefits:
5252
Having configuration files where ansible places them means you will generally
5353
not even need to specify where to find them. Running:
5454

55-
oc ex diagnostics
55+
oc adm diagnostics
5656

5757
by itself will look for master and node configs (in addition to client
5858
config file) in the standard locations and use them if found; so this
5959
should make the ansible-installed use case as simple as possible. It's also
6060
very easy to use configuration files when they are not in the expected
6161
Enterprise locations:
6262

63-
oc ex diagnostics --master-config=... --node-config=...
63+
oc adm diagnostics --master-config=... --node-config=...
6464

6565
Having logs in journald is necessary for the current log analysis
6666
logic. Other usage may have logs going into files, output to stdout,
@@ -95,7 +95,7 @@ save may be your own.
9595

9696
A diagnostic is an object that conforms to the Diagnostic interface
9797
(see pkg/diagnostics/types/diagnostic.go). The diagnostic object should
98-
be built in one of the builders in the pkg/cmd/admin/diagnostics
98+
be built in one of the builders in the pkg/oc/admin/diagnostics
9999
package (based on whether it depends on client, cluster-admin, or host
100100
configuration). When executed, the diagnostic logs its findings into
101101
a result object. It should be assumed that they may run in parallel.

0 commit comments

Comments
 (0)