Skip to content

Commit 89c0c6b

Browse files
MIBcknative-prow-robot
authored andcommitted
Update check version cmd (#2110)
The previous one will meet error if user copy and paste the cmd directly. This one is more convenient for user to test the cmd.
1 parent e25657f commit 89c0c6b

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

docs/install/check-install-version.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,11 @@ To obtain the version of the Knative component that you have running on your clu
1111
* Knative Serving
1212

1313
```bash
14-
kubectl get namespace knative-serving -o 'go-template={{index .metadata.labels
15-
"serving.knative.dev/release"}}'
14+
kubectl get namespace knative-serving -o 'go-template={{index .metadata.labels "serving.knative.dev/release"}}'
1615
```
1716

1817
* Knative Eventing
1918

2019
```bash
21-
kubectl get namespace knative-eventing -o 'go-template={{index .metadata.labels
22-
"eventing.knative.dev/release"}}'
20+
kubectl get namespace knative-eventing -o 'go-template={{index .metadata.labels "eventing.knative.dev/release"}}'
2321
```

0 commit comments

Comments
 (0)