We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
api-version
curl
1 parent 9f048ca commit 71f1965Copy full SHA for 71f1965
smf/profile/bashrc
@@ -10,7 +10,7 @@ typeset _hstc="$C_RED$HOSTNAME"
10
case "$_hst" in
11
oxz_switch)
12
# Try to determine which switch zone we are
13
- _switchid=$(curl -s http://localhost:12225/local/switch-id \
+ _switchid=$(curl -H 'api-version: 1.0.0' -s http://localhost:12225/local/switch-id \
14
| /opt/ooce/bin/jq -r .slot)
15
if (( $? == 0 )) && [[ -n "$_switchid" ]]; then
16
_hst+="$_switchid"
0 commit comments