make it turn on the filer when filer.redirectOnRead is set

This commit is contained in:
Brian McQueen 2014-12-14 00:33:16 -08:00
parent c0dfdf4392
commit 57ec736941

View file

@ -101,6 +101,10 @@ func runServer(cmd *Command, args []string) bool {
}
}
if *filerOptions.redirectOnRead {
*isStartingFiler = true
}
*filerOptions.master = *serverPublicIp + ":" + strconv.Itoa(*masterPort)
if *filerOptions.defaultReplicaPlacement == "" {