Skip to content

Commit

Permalink
Fix docker-entry error
Browse files Browse the repository at this point in the history
  • Loading branch information
nkostoulas committed Jan 24, 2020
1 parent 89d4832 commit 1a23685
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ elif [[ "$1" == "ocean_commitment" ]]; then
go run $GOPATH/src/mainstay/cmd/commitmenttool/commitmenttool.go -ocean -privkey $COMMITMENT_PRIV -position $COMMITMENT_POS -authtoken $COMMITMENT_AUTH -apiHost $MAINSTAY_HOST -delay $COMMITMENT_DELAY
elif [[ "$1" == "ocean_commitment_nopriv" ]]; then
echo "Running commitment tool for Ocean without priv key"
go run $GOPATH/src/mainstay/cmd/commitmenttool/commitmenttool.go -ocean $COMMITMENT_POS -authtoken $COMMITMENT_AUTH -apiHost $MAINSTAY_HOST -delay $COMMITMENT_DELAY
go run $GOPATH/src/mainstay/cmd/commitmenttool/commitmenttool.go -ocean -position $COMMITMENT_POS -authtoken $COMMITMENT_AUTH -apiHost $MAINSTAY_HOST -delay $COMMITMENT_DELAY
else
$@
fi

0 comments on commit 1a23685

Please sign in to comment.