Browse Source

Adjust function name.

pull/48/head
Chris Lu 10 years ago
parent
commit
cceb5768c7
  1. 2
      go/weed/filer.go
  2. 2
      go/weed/server.go

2
go/weed/filer.go

@ -67,7 +67,7 @@ func runFiler(cmd *Command, args []string) bool {
} }
r := http.NewServeMux() r := http.NewServeMux()
_, nfs_err := weed_server.NewEmbeddedFilerServer(r, *f.port, *f.master, *f.dir, *f.collection,
_, nfs_err := weed_server.NewFilerServer(r, *f.port, *f.master, *f.dir, *f.collection,
*f.defaultReplicaPlacement, *f.redirectOnRead, *f.defaultReplicaPlacement, *f.redirectOnRead,
*f.cassandra_server, *f.cassandra_keyspace, *f.cassandra_server, *f.cassandra_keyspace,
) )

2
go/weed/server.go

@ -157,7 +157,7 @@ func runServer(cmd *Command, args []string) bool {
if *isStartingFiler { if *isStartingFiler {
go func() { go func() {
r := http.NewServeMux() r := http.NewServeMux()
_, nfs_err := weed_server.NewEmbeddedFilerServer(r, *filerOptions.port, *filerOptions.master, *filerOptions.dir, *filerOptions.collection,
_, nfs_err := weed_server.NewFilerServer(r, *filerOptions.port, *filerOptions.master, *filerOptions.dir, *filerOptions.collection,
*filerOptions.defaultReplicaPlacement, *filerOptions.redirectOnRead, *filerOptions.defaultReplicaPlacement, *filerOptions.redirectOnRead,
"", "", "", "",
) )

Loading…
Cancel
Save