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