library/roles/smartgears/smartgears/templates/get-scopes.j2: Fix a typo.

This commit is contained in:
Andrea Dell'Amico 2018-02-22 10:46:49 +01:00
parent a02ebd8290
commit 9b59689a87
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ function get_scopes_from_auth() {
java TokenGenerator {{ hostname }} $TOKEN $HTTP_PORT $SCOPES_FILE $SCOPES_LIST >/dev/null 2>&1 java TokenGenerator {{ hostname }} $TOKEN $HTTP_PORT $SCOPES_FILE $SCOPES_LIST >/dev/null 2>&1
{% else %} {% else %}
java TokenGenerator {{ smartgears_hostname }} $TOKEN $HTTP_PORT $SCOPES_FILE $SCOPES_LIST >/dev/null 2>&1 java TokenGenerator {{ smartgears_hostname }} $TOKEN $HTTP_PORT $SCOPES_FILE $SCOPES_LIST >/dev/null 2>&1
{% fi %} {% endif %}
RETVAL=$? RETVAL=$?
if [ $RETVAL -eq 0 ] ; then if [ $RETVAL -eq 0 ] ; then
logger "$LOG_PREFIX We got the scope tokens" logger "$LOG_PREFIX We got the scope tokens"