Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(docs): Update stackablectl commands in getting started guide #573

Merged
merged 1 commit into from Feb 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -212,7 +212,7 @@ echo "NiFi web interface: $nifi_url"

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

Expand Down
Expand Up @@ -212,7 +212,7 @@ echo "NiFi web interface: $nifi_url"

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

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/nifi/pages/getting_started/first_steps.adoc
Expand Up @@ -82,7 +82,7 @@ Use the service command of `stackablectl` to get a list of all available endpoin

[source,bash]
----
stackablectl svc list
stackablectl stacklet list
----

which should return something like this:
Expand Down