improve set_bridge_tokens
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
2a18291f48
commit
d6178fd380
2
abra.sh
2
abra.sh
@ -27,7 +27,7 @@ set_bridge_tokens() {
|
|||||||
|
|
||||||
BRIDGETYPE=$1
|
BRIDGETYPE=$1
|
||||||
echo "retrieve tokens from registration.yaml..."
|
echo "retrieve tokens from registration.yaml..."
|
||||||
output=$(abra app run $DOMAIN ${BRIDGETYPE}bridge cat /data/registration.yaml)
|
output=$(abra app run $DOMAIN app cat /${BRIDGETYPE}-data/registration.yaml)
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
echo "Error: Failed to retrieve registration.yaml for ${BRIDGETYPE} bridge:"
|
echo "Error: Failed to retrieve registration.yaml for ${BRIDGETYPE} bridge:"
|
||||||
echo "$output"
|
echo "$output"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user