mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-11-07 20:47:46 +01:00
go fmt
This commit is contained in:
1 parent
288c45a690
commit
69de05f6cb
3 files changed
+3
-7
No files matched your search
@@ -13,9 +13,8 @@ import (
|
||||
)
|
||||
|
||||
var (
|
||||
shellOptions shell.ShellOptions
|
||||
shellOptions shell.ShellOptions
|
||||
shellInitialFilerUrl *string
|
||||
|
||||
)
|
||||
|
||||
func init() {
|
||||
@@ -32,13 +31,11 @@ var cmdShell = &Command{
|
||||
`,
|
||||
}
|
||||
|
||||
|
||||
func runShell(command *Command, args []string) bool {
|
||||
|
||||
util.LoadConfiguration("security", false)
|
||||
shellOptions.GrpcDialOption = security.LoadClientTLS(viper.Sub("grpc"), "client")
|
||||
|
||||
|
||||
var filerPwdErr error
|
||||
shellOptions.FilerHost, shellOptions.FilerPort, shellOptions.Directory, filerPwdErr = parseFilerUrl(*shellInitialFilerUrl)
|
||||
if filerPwdErr != nil {
|
||||
|
||||
Reference in new issue
Block a user