Skip to content

Commit 4ee8dd4

Browse files
authored
chore(docs): Update stackablectl commands in getting started guide (#573)
1 parent 588b93e commit 4ee8dd4

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/modules/nifi/examples/getting_started/getting_started.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ echo "NiFi web interface: $nifi_url"
212212

213213
echo "Getting NiFi endpoint with stackablectl ..."
214214
# tag::stackablectl-nifi-url[]
215-
nifi_url=$(stackablectl svc list -o json | jq --raw-output '.nifi[0].endpoints.https')
215+
nifi_url=$(stackablectl stacklet ls -o json | jq --raw-output '.[] | select(.name == "simple-nifi") | .endpoints.https')
216216
# end::stackablectl-nifi-url[]
217217
echo "Endpoint: $nifi_url"
218218

docs/modules/nifi/examples/getting_started/getting_started.sh.j2

+1-1
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ echo "NiFi web interface: $nifi_url"
212212

213213
echo "Getting NiFi endpoint with stackablectl ..."
214214
# tag::stackablectl-nifi-url[]
215-
nifi_url=$(stackablectl svc list -o json | jq --raw-output '.nifi[0].endpoints.https')
215+
nifi_url=$(stackablectl stacklet ls -o json | jq --raw-output '.[] | select(.name == "simple-nifi") | .endpoints.https')
216216
# end::stackablectl-nifi-url[]
217217
echo "Endpoint: $nifi_url"
218218

docs/modules/nifi/pages/getting_started/first_steps.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ Use the service command of `stackablectl` to get a list of all available endpoin
8282

8383
[source,bash]
8484
----
85-
stackablectl svc list
85+
stackablectl stacklet list
8686
----
8787

8888
which should return something like this:

0 commit comments

Comments
 (0)