From 59017da4f24aa365637767144fe91b1fcdf8a7d4 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Thu, 26 May 2016 08:37:27 -0700 Subject: [PATCH] add missing parameters. strange git errors happen twice since adding glide. --- go/weed/weed_server/filer_server.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/go/weed/weed_server/filer_server.go b/go/weed/weed_server/filer_server.go index ae3088454..e3c45d9e5 100644 --- a/go/weed/weed_server/filer_server.go +++ b/go/weed/weed_server/filer_server.go @@ -24,7 +24,7 @@ type FilerServer struct { filer filer.Filer } -func NewFilerServer(r *http.ServeMux, port int, master string, dir string, collection string, +func NewFilerServer(r *http.ServeMux, ip string, port int, master string, dir string, collection string, replication string, redirectOnRead bool, disableDirListing bool, secret string, cassandra_server string, cassandra_keyspace string, @@ -36,7 +36,7 @@ func NewFilerServer(r *http.ServeMux, port int, master string, dir string, colle defaultReplication: replication, redirectOnRead: redirectOnRead, disableDirListing: disableDirListing, - port: ":" + strconv.Itoa(port), + port: ip + ":" + strconv.Itoa(port), } if cassandra_server != "" {