aboutsummaryrefslogtreecommitdiff
path: root/weed/shell
diff options
context:
space:
mode:
Diffstat (limited to 'weed/shell')
-rw-r--r--weed/shell/command_fs_meta_load.go4
-rw-r--r--weed/shell/commands.go2
2 files changed, 3 insertions, 3 deletions
diff --git a/weed/shell/command_fs_meta_load.go b/weed/shell/command_fs_meta_load.go
index 35fa632b0..0991c039c 100644
--- a/weed/shell/command_fs_meta_load.go
+++ b/weed/shell/command_fs_meta_load.go
@@ -56,7 +56,7 @@ func (c *commandFsMetaLoad) Do(args []string, commandEnv *commandEnv, writer io.
for {
if n, err := dst.Read(sizeBuf); n != 4 {
- if err == io.EOF{
+ if err == io.EOF {
return nil
}
return err
@@ -100,4 +100,4 @@ func (c *commandFsMetaLoad) Do(args []string, commandEnv *commandEnv, writer io.
}
return err
-} \ No newline at end of file
+}
diff --git a/weed/shell/commands.go b/weed/shell/commands.go
index 50b70498d..6fade6e9d 100644
--- a/weed/shell/commands.go
+++ b/weed/shell/commands.go
@@ -51,7 +51,7 @@ func (ce *commandEnv) parseUrl(input string) (filerServer string, filerPort int6
func (ce *commandEnv) isDirectory(ctx context.Context, filerServer string, filerPort int64, path string) bool {
- return ce.checkDirectory(ctx,filerServer,filerPort,path) == nil
+ return ce.checkDirectory(ctx, filerServer, filerPort, path) == nil
}