mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-19 16:08:30 +08:00
refactoring
This commit is contained in:
@@ -92,6 +92,8 @@ func (ce *CommandEnv) checkDirectory(path string) error {
|
||||
|
||||
}
|
||||
|
||||
var _ = filer_pb.FilerClient(&CommandEnv{})
|
||||
|
||||
func (ce *CommandEnv) WithFilerClient(fn func(filer_pb.SeaweedFilerClient) error) error {
|
||||
|
||||
filerGrpcAddress := fmt.Sprintf("%s:%d", ce.option.FilerHost, ce.option.FilerPort+10000)
|
||||
|
Reference in New Issue
Block a user