diff options
| author | Chris Lu <chris.lu@gmail.com> | 2021-09-01 02:45:42 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2021-09-01 02:45:42 -0700 |
| commit | 7ce97b59d828b3f6d7bcdab323209740280da3f3 (patch) | |
| tree | b4f50634e183c2bc8ba897baefbf3d62731bf9f8 /weed/shell | |
| parent | d1a4e19a3f0aeaabcf87aba3c99880f82bde87a3 (diff) | |
| download | seaweedfs-7ce97b59d828b3f6d7bcdab323209740280da3f3.tar.xz seaweedfs-7ce97b59d828b3f6d7bcdab323209740280da3f3.zip | |
go fmt
Diffstat (limited to 'weed/shell')
| -rw-r--r-- | weed/shell/command_remote_cache.go | 2 | ||||
| -rw-r--r-- | weed/shell/command_remote_configure.go | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/weed/shell/command_remote_cache.go b/weed/shell/command_remote_cache.go index 2888ec979..488fea7ea 100644 --- a/weed/shell/command_remote_cache.go +++ b/weed/shell/command_remote_cache.go @@ -59,7 +59,7 @@ func (c *commandRemoteCache) Do(args []string, commandEnv *CommandEnv, writer io } mappings, localMountedDir, remoteStorageMountedLocation, remoteStorageConf, detectErr := detectMountInfo(commandEnv, writer, *dir) - if detectErr != nil{ + if detectErr != nil { jsonPrintln(writer, mappings) return detectErr } diff --git a/weed/shell/command_remote_configure.go b/weed/shell/command_remote_configure.go index 4990e81db..c6e55ae69 100644 --- a/weed/shell/command_remote_configure.go +++ b/weed/shell/command_remote_configure.go @@ -116,7 +116,6 @@ Namenode running as service 'hdfs' with FQDN 'namenode.hadoop.docker'. `) remoteConfigureCommand.StringVar(&conf.HdfsDataTransferProtection, "hdfs.dataTransferProtection", "", "[authentication|integrity|privacy] Kerberos data transfer protection") - if err = remoteConfigureCommand.Parse(args); err != nil { return nil } |
