Description of problem: I find in inspect cmd, there is a misspelled word "ocurred". $ grep -r "ocurred" pkg/cli/admin/inspect/inspect.go: return fmt.Errorf("errors ocurred while gathering data:\n %v", errors.NewAggregate(allErrs)) pkg/cli/admin/inspect/inspect.go: return fmt.Errorf("one or more errors ocurred while gathering config.openshift.io resource data:\n\n %v", errors.NewAggregate(errs)) pkg/cli/admin/inspect/inspect.go: return fmt.Errorf("one or more errors ocurred while gathering operator.openshift.io resource data:\n\n %v", errors.NewAggregate(errs)) pkg/cli/admin/inspect/namespace.go: return fmt.Errorf("one or more errors ocurred while gathering pod-specific data for namespace: %s\n\n %v", namespace, errors.NewAggregate(errs)) pkg/cli/admin/inspect/pod.go: return fmt.Errorf("one or more errors ocurred while gathering container data for pod %s:\n\n %v", pod.Name, utilerrors.NewAggregate(errs)) Version-Release number of selected component (if applicable): $ oc version Client Version: 4.9.0-0.nightly-2021-08-07-175228 Server Version: 4.9.0-0.nightly-2021-08-07-175228 Kubernetes Version: v1.21.1+8268f88 How reproducible: Always Steps to Reproduce: $ oc adm inspect co storage Gathering data for ns/openshift-cluster-storage-operator... Gathering data for ns/openshift-cluster-csi-drivers... Wrote inspect data to inspect.local.4356476781761520600. error: errors ocurred while gathering data: skipping gathering namespaces/openshift-manila-csi-driver due to error: namespaces "openshift-manila-csi-driver" not found Actual results: Expected results: "ocurred" should be updated to "occurred" Additional info:
This was fixed in https://github.com/openshift/oc/pull/1002
the issue has fixed : [root@localhost openshift-tests-private]# oc adm inspect co storage Gathering data for ns/openshift-cluster-storage-operator... Gathering data for ns/openshift-cluster-csi-drivers... Wrote inspect data to inspect.local.5355791683796258326. error: errors occurred while gathering data: [root@localhost openshift-tests-private]# oc version --client Client Version: 4.10.0-202201281850.p0.g7c299f1.assembly.stream-7c299f1