Skip to content

Commit

Permalink
diagnostics: in-pod command now openshift-diagnostics
Browse files Browse the repository at this point in the history
  • Loading branch information
sosiouxme committed Dec 13, 2017
1 parent e8fac7c commit d869499
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ func (d *DiagnosticPod) runDiagnosticPod(r types.DiagnosticResult) {
{
Name: "pod-diagnostics",
Image: imageName,
Command: []string{"openshift", "infra", "diagnostic-pod", "-l", strconv.Itoa(loglevel)},
Command: []string{"openshift-diagnostics", "diagnostic-pod", "-l", strconv.Itoa(loglevel)},
},
},
},
Expand Down
2 changes: 1 addition & 1 deletion pkg/oc/admin/diagnostics/diagnostics/network/run_pod.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ func (d *NetworkDiagnostic) runNetworkDiagnostic() {
// In Collection phase, results from each node are moved to the user machine where the CLI cmd is executed.

// TEST Phase: Run network diagnostic pod on all valid nodes in parallel
command := fmt.Sprintf("openshift infra network-diagnostic-pod -l %d", loglevel)
command := fmt.Sprintf("openshift-diagnostics network-diagnostic-pod -l %d", loglevel)
if err := d.runNetworkPod(command); err != nil {
d.res.Error("DNet2006", err, err.Error())
return
Expand Down

0 comments on commit d869499

Please sign in to comment.