Skip to content

Commit 6c91dc0

Browse files
authored
Merge pull request #51348 from apinnick/CNV-21248-get-csv
CNV-21248: update oc get cvs command
2 parents 06ebaed + d03cd9b commit 6c91dc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/virt-deleting-virt-cli.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ $ oc delete subscription kubevirt-hyperconverged -n openshift-cnv
4040
+
4141
[source,terminal]
4242
----
43-
$ CSV_NAME=$(oc get csv -n openshift-cnv -o=custom-columns=:metadata.name)
43+
$ CSV_NAME=$(oc get csv -n openshift-cnv -o=jsonpath="{.items[0].metadata.name}")
4444
----
4545
. Delete the CSV from the {VirtProductName} cluster by specifying the CSV name from the previous step:
4646
+

0 commit comments

Comments
 (0)