Skip to content

Commit aed6242

Browse files
Merge pull request #228712 from MGoedtel/bug66266
corrected coding error with bash scripts
2 parents ad26a00 + d7e998d commit aed6242

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/aks/csi-migrate-in-tree-volumes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ The following are important considerations to evaluate:
5454
Replace **pvName** with the name of your selected PersistentVolume. Alternatively, if you want to update the reclaimPolicy for multiple PVs, create a file named **patchReclaimPVs.sh** and copy in the following code.
5555

5656
```bash
57-
# Patch the Persistent Volume in case ReclaimPolicy is Delete
5857
#!/bin/sh
58+
# Patch the Persistent Volume in case ReclaimPolicy is Delete
5959
namespace=$1
6060
i=1
6161
for pvc in $(kubectl get pvc -n $namespace | awk '{ print $1}'); do
@@ -373,8 +373,8 @@ Migration from in-tree to CSI is supported by creating a static volume.
373373
Replace **pvName** with the name of your selected PersistentVolume. Alternatively, if you want to update the reclaimPolicy for multiple PVs, create a file named **patchReclaimPVs.sh** and copy in the following code.
374374
375375
```bash
376-
# Patch the Persistent Volume in case ReclaimPolicy is Delete
377376
#!/bin/sh
377+
# Patch the Persistent Volume in case ReclaimPolicy is Delete
378378
namespace=$1
379379
i=1
380380
for pvc in $(kubectl get pvc -n $namespace | awk '{ print $1}'); do

0 commit comments

Comments
 (0)