1
0
Fork 0
mirror of https://github.com/chrislusf/seaweedfs synced 2024-06-30 06:12:15 +02:00

skip setting ip address for filer

related to https://github.com/chrislusf/seaweedfs/issues/960
This commit is contained in:
Chris Lu 2019-05-14 23:35:39 -07:00
parent 017d0957c3
commit dd4ef58d99

View file

@ -29,7 +29,7 @@ case "$1" in
;; ;;
'filer') 'filer')
ARGS="-ip `hostname -i` " ARGS=""
if [ -n "$MASTER_PORT_9333_TCP_ADDR" ] ; then if [ -n "$MASTER_PORT_9333_TCP_ADDR" ] ; then
ARGS="$ARGS -master=$MASTER_PORT_9333_TCP_ADDR:$MASTER_PORT_9333_TCP_PORT" ARGS="$ARGS -master=$MASTER_PORT_9333_TCP_ADDR:$MASTER_PORT_9333_TCP_PORT"
fi fi