Skip to content

Commit 10c8625

Browse files
authored
Minor fix to find the pinned revision
1 parent c188482 commit 10c8625

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

documentation/modules/ROOT/pages/02-basic-fundas.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ Let us redeploy the greeter service by pinning it to the first revision that was
257257
[#run-pinned-revision]
258258
[source,bash,subs="+macros,+attributes"]
259259
----
260-
PIN_REVISION=`kubectl get rev -l serving.knative.dev/service=greeter -l serving.knative.dev/configurationGeneration=1 | awk 'NR==2{print $1}'` && \
260+
PIN_REVISION=`kubectl get rev -n knativetutorial -l serving.knative.dev/service=greeter -l serving.knative.dev/configurationGeneration=1 | awk 'NR==2{print $1}'` && \
261261
cat service-pinned.yaml | yq w - "spec.release.revisions[+]" $PIN_REVISION | kubectl -n {tutorial-namespace} apply -f -
262262
----
263263
copyToClipboard::run-pinned-revision[]

0 commit comments

Comments
 (0)