Skip to content

Commit 7a73ff7

Browse files
prithvipatil97abhatt-rh
authored andcommitted
[new]Three different command mentioned in single block under "Uninstalling the Local Storage Operator
- Three different commands mentioned ina single block under "Uninstalling the Local Storage Operator - Here is the documentation link: https://docs.openshift.com/container-platform/4.18/storage/persistent_storage/persistent_storage_local/persistent-storage-local.html#local-storage-uninstall_persistent-storage-local - As per the standard rule, using more than one command per code block is not recommended. Please check Standard rule [2] for reference: [2] https://github.com/openshift/openshift-docs/blob/main/contributing_to_docs/doc_guidelines.adoc#single-command-per-code-block - When commands are bunched together, the copy to clipboard functionality might not break the lines up correctly. Using a single command per code block makes it copy-and-paste friendly. - Hence we need to mention 3 separate code blocks for above 3 commands. - Here is the updated look of the documentation: ~~~ $ oc delete localvolume --all --all-namespaces ~~~ ~~~ $ oc delete localvolumeset --all --all-namespaces ~~~ ~~~ $ oc delete localvolumediscovery --all --all-namespaces ~~~ [new-commit]Three different command mentioned in single block under "Uninstalling the Local Storage Operator - Three different commands mentioned ina single block under "Uninstalling the Local Storage Operator - Here is the documentation link: https://docs.openshift.com/container-platform/4.18/storage/persistent_storage/persistent_storage_local/persistent-storage-local.html#local-storage-uninstall_persistent-storage-local - As per the standard rule, using more than one command per code block is not recommended. Please check Standard rule [2] for reference: [2] https://github.com/openshift/openshift-docs/blob/main/contributing_to_docs/doc_guidelines.adoc#single-command-per-code-block - When commands are bunched together, the copy to clipboard functionality might not break the lines up correctly. Using a single command per code block makes it copy-and-paste friendly. - Hence we need to mention 3 separate code blocks for above 3 commands. - Here is the updated look of the documentation: ~~~ $ oc delete localvolume --all --all-namespaces ~~~ ~~~ $ oc delete localvolumeset --all --all-namespaces ~~~ ~~~ $ oc delete localvolumediscovery --all --all-namespaces ~~~ 2. Also as suggested in the previous PR, and as per the guideline documentation, adding `by running the following command:` in the `step1` and `step4` Co-authored-by: Avani Bhatt <avbhatt@redhat.com>
1 parent 03af5b1 commit 7a73ff7

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

modules/persistent-storage-local-uninstall-operator.adoc

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,20 @@ there might be indeterminate behavior if the Operator is uninstalled and reinsta
2020
2121
.Procedure
2222

23-
. Delete any local volume resources installed in the project, such as `localvolume`, `localvolumeset`, and `localvolumediscovery`:
23+
. Delete any local volume resources installed in the project, such as `localvolume`, `localvolumeset`, and `localvolumediscovery` by running the following commands:
2424
+
2525
[source,terminal]
2626
----
2727
$ oc delete localvolume --all --all-namespaces
28+
----
29+
+
30+
[source,terminal]
31+
----
2832
$ oc delete localvolumeset --all --all-namespaces
33+
----
34+
+
35+
[source,terminal]
36+
----
2937
$ oc delete localvolumediscovery --all --all-namespaces
3038
----
3139

@@ -50,7 +58,7 @@ $ oc delete localvolumediscovery --all --all-namespaces
5058
$ oc delete pv <pv-name>
5159
----
5260

53-
. Delete the `openshift-local-storage` project:
61+
. Delete the `openshift-local-storage` project by running the following command:
5462
+
5563
[source,terminal]
5664
----

0 commit comments

Comments
 (0)