Skip to content
Snippets Groups Projects
Commit 5c86368d authored by Claudio Pisa's avatar Claudio Pisa
Browse files

change log and status messages

parent 7c2c3e08
No related branches found
No related tags found
No related merge requests found
...@@ -11,7 +11,7 @@ status-set maintenance "Setting the default gateway" ...@@ -11,7 +11,7 @@ status-set maintenance "Setting the default gateway"
GATEWAY="$( config-get gateway )" GATEWAY="$( config-get gateway )"
if [ -z "$GATEWAY" ]; then if [ -z "$GATEWAY" ]; then
juju-log "Gateway option is empty. Exiting..." juju-log "Gateway option is empty."
status-set blocked "No gateway specified." status-set blocked "No gateway specified."
exit 0 exit 0
fi fi
......
...@@ -9,7 +9,8 @@ source inc/common ...@@ -9,7 +9,8 @@ source inc/common
GATEWAY="$( config-get gateway )" GATEWAY="$( config-get gateway )"
if [ -z "$GATEWAY" ]; then if [ -z "$GATEWAY" ]; then
juju-log "Gateway option is currently empty." juju-log "Gateway option is empty. Blocking and doing nothing."
status-set blocked "No gateway specified."
exit 0 exit 0
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment