Skip to content

Commit f5c8b31

Browse files
authored
Merge pull request #100 from jembi/initRepSet-log-fix
Moved log to below package import
2 parents 01cbdac + f18b341 commit f5c8b31

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

interoperability-layer-openhim/initiateReplicaSet.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
#!/bin/bash
22

3-
log info 'Initiating the mongo replica set'
4-
53
COMPOSE_FILE_PATH=$(
64
cd "$(dirname "${BASH_SOURCE[0]}")" || exit
75
pwd -P
@@ -11,6 +9,8 @@ ROOT_PATH="${COMPOSE_FILE_PATH}/.."
119
. "${ROOT_PATH}/utils/config-utils.sh"
1210
. "${ROOT_PATH}/utils/log.sh"
1311

12+
log info 'Initiating the mongo replica set'
13+
1414
await_replica_reachable() {
1515
local -r SERVICE_NAME="${1:?"FATAL: await_replica_reachable SERVICE_NAME not provided"}"
1616
local -r start_time=$(date +%s)

0 commit comments

Comments
 (0)