Skip to content

Commit cbdb177

Browse files
ahmetbchenopis
authored andcommitted
cassandra.md: Fix Liquid syntax warning
Fixes kubernetes#4198 Signed-off-by: Ahmet Alp Balkan <[email protected]>
1 parent 46be5c6 commit cbdb177

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/tutorials/stateful-application/cassandra.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ kubectl create -f cassandra/cassandra-statefulset.yaml
8383
kubectl exec -ti cassandra-0 -- nodetool status
8484

8585
# cleanup
86-
grace=$(kubectl get po cassandra-0 --template '{{.spec.terminationGracePeriodSeconds}}') \
86+
grace=$(kubectl get po cassandra-0 -o=jsonpath='{.spec.terminationGracePeriodSeconds}') \
8787
&& kubectl delete statefulset,po -l app=cassandra \
8888
&& echo "Sleeping $grace" \
8989
&& sleep $grace \
@@ -421,7 +421,7 @@ Deleting and/or scaling a StatefulSet down will not delete the volumes associate
421421
Use the following commands to delete the StatefulSet.
422422

423423
```console
424-
$ grace=$(kubectl get po cassandra-0 --template '{{.spec.terminationGracePeriodSeconds}}') \
424+
$ grace=$(kubectl get po cassandra-0 -o=jsonpath='{.spec.terminationGracePeriodSeconds}') \
425425
&& kubectl delete statefulset -l app=cassandra \
426426
&& echo "Sleeping $grace" \
427427
&& sleep $grace \

0 commit comments

Comments
 (0)