File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -212,7 +212,7 @@ echo "NiFi web interface: $nifi_url"
212
212
213
213
echo " Getting NiFi endpoint with stackablectl ..."
214
214
# 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' )
216
216
# end::stackablectl-nifi-url[]
217
217
echo " Endpoint: $nifi_url "
218
218
Original file line number Diff line number Diff line change @@ -212,7 +212,7 @@ echo "NiFi web interface: $nifi_url"
212
212
213
213
echo " Getting NiFi endpoint with stackablectl ..."
214
214
# 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' )
216
216
# end::stackablectl-nifi-url[]
217
217
echo " Endpoint: $nifi_url "
218
218
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ Use the service command of `stackablectl` to get a list of all available endpoin
82
82
83
83
[source,bash]
84
84
----
85
- stackablectl svc list
85
+ stackablectl stacklet list
86
86
----
87
87
88
88
which should return something like this:
You can’t perform that action at this time.
0 commit comments