From ed3cf811f576e2dd9fd1c1fb0df967d7fb9e6f1c Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Wed, 29 Apr 2020 13:26:02 -0700 Subject: refactoring --- weed/shell/commands.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'weed/shell/commands.go') diff --git a/weed/shell/commands.go b/weed/shell/commands.go index a43196b62..b7ca5d268 100644 --- a/weed/shell/commands.go +++ b/weed/shell/commands.go @@ -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) -- cgit v1.2.3