Browse Source

fix unreachable code

pull/1293/head
Chris Lu 5 years ago
parent
commit
826f96b6f3
  1. 1
      weed/command/filer_replication.go
  2. 1
      weed/server/filer_grpc_server_listen.go
  3. 1
      weed/server/master_grpc_server.go

1
weed/command/filer_replication.go

@ -121,7 +121,6 @@ func runFilerReplicate(cmd *Command, args []string) bool {
}
}
return true
}
func validateOneEnabledInput(config *viper.Viper) {

1
weed/server/filer_grpc_server_listen.go

@ -65,7 +65,6 @@ func (fs *FilerServer) SubscribeMetadata(req *filer_pb.SubscribeMetadataRequest,
fs.listenersLock.Unlock()
}
return nil
}
func (fs *FilerServer) addClient(clientType string, clientAddress string) (clientName string) {

1
weed/server/master_grpc_server.go

@ -243,7 +243,6 @@ func (ms *MasterServer) KeepConnected(stream master_pb.Seaweed_KeepConnectedServ
}
}
return nil
}
func (ms *MasterServer) informNewLeader(stream master_pb.Seaweed_KeepConnectedServer) error {

Loading…
Cancel
Save