Skip to content

Commit d03cd9b

Browse files
committed
CNV-21248: update oc get cvs command
1 parent 605f3f8 commit d03cd9b

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)