Update join-data prompt text to match panel's calagopus-wings prefix
The panel now generates the auto-deploy command as "calagopus-wings configure --join-data ..." instead of "wings configure --join-data ...". extract_join_data() already handles any prefix (it matches on the --join-data flag itself), so this is a docs/prompt wording update only, keeping the on-screen instructions in sync with what users actually copy from the panel. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
parent
90f9c9d954
commit
54dd3e2199
1 changed files with 3 additions and 2 deletions
|
|
@ -233,7 +233,8 @@ section "Configuration"
|
||||||
# Pulls just the base64 join-data token out of whatever the user pastes.
|
# Pulls just the base64 join-data token out of whatever the user pastes.
|
||||||
# Accepts:
|
# Accepts:
|
||||||
# - the raw token by itself
|
# - the raw token by itself
|
||||||
# - the full "wings configure --join-data <token>" command
|
# - the full "calagopus-wings configure --join-data <token>" command as
|
||||||
|
# generated by the panel (or the older "wings configure --join-data ..." form)
|
||||||
# - either wrapped in single/double quotes, with extra surrounding whitespace
|
# - either wrapped in single/double quotes, with extra surrounding whitespace
|
||||||
extract_join_data() {
|
extract_join_data() {
|
||||||
local raw="$1"
|
local raw="$1"
|
||||||
|
|
@ -258,7 +259,7 @@ extract_join_data() {
|
||||||
}
|
}
|
||||||
|
|
||||||
if confirm_default_no "Run wings configure --join-data now?"; then
|
if confirm_default_no "Run wings configure --join-data now?"; then
|
||||||
JOIN_DATA_RAW="$(prompt "Paste join-data (raw token or the full 'wings configure --join-data ...' command): ")"
|
JOIN_DATA_RAW="$(prompt "Paste join-data (raw token or the full 'calagopus-wings configure --join-data ...' command): ")"
|
||||||
JOIN_DATA="$(extract_join_data "$JOIN_DATA_RAW")"
|
JOIN_DATA="$(extract_join_data "$JOIN_DATA_RAW")"
|
||||||
|
|
||||||
if [[ -n "$JOIN_DATA" ]]; then
|
if [[ -n "$JOIN_DATA" ]]; then
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue