Skip to content

Commit fe7474d

Browse files
committed
Fix tests
1 parent c000f49 commit fe7474d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/setup-skyport.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ ${SWM_VERSION_DIR}/scripts/setup-swm-core.py -n\
8282
-s $SWM_SPOOL\
8383
-c $CONFIG_BASE\
8484
-u $username\
85-
-l $location
85+
-l $location\
8686
-d cluster
8787
EXIT_CODE=$?
8888
if [ "$EXIT_CODE" != "0" ]; then

src/ctl/wm_ctl.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -798,7 +798,7 @@ consult(File) ->
798798
Root = os:getenv("SWM_ROOT"),
799799
User = os:getenv("SWM_ADMIN_USER"),
800800
UserId = os:getenv("SWM_ADMIN_ID"),
801-
Location = os:getenv("SWM_REMOTE_LOCATION"),
801+
Location = os:getenv("SWM_REMOTE_LOCATION", ""),
802802
S2 = re:replace(S1, "_HOSTNAME_", FQDN, [global, {return, list}]),
803803
S3 = re:replace(S2, "_SWM_SPOOL_", Spool, [global, {return, list}]),
804804
S4 = re:replace(S3, "_SWM_ROOT_", Root, [global, {return, list}]),

0 commit comments

Comments
 (0)