mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
make it turn on the filer when filer.redirectOnRead is set
This commit is contained in:
parent
c0dfdf4392
commit
57ec736941
|
@ -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 == "" {
|
||||
|
|
Loading…
Reference in a new issue