diff options
| author | Chris Lu <chris.lu@gmail.com> | 2021-08-03 09:32:31 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2021-08-03 09:32:31 -0700 |
| commit | d2ddf1dbdbc788cf807fd12ac9f7151bd2d625bb (patch) | |
| tree | 5e0da1e280e1b5b28ac71d55282cfab8734d68a8 | |
| parent | 3afbf04007eb1e6c7d79e652545d24e7a8e7d509 (diff) | |
| download | seaweedfs-d2ddf1dbdbc788cf807fd12ac9f7151bd2d625bb.tar.xz seaweedfs-d2ddf1dbdbc788cf807fd12ac9f7151bd2d625bb.zip | |
typo
| -rw-r--r-- | weed/command/upload.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/weed/command/upload.go b/weed/command/upload.go index ccdec561f..9ae1befab 100644 --- a/weed/command/upload.go +++ b/weed/command/upload.go @@ -71,13 +71,13 @@ func runUpload(cmd *Command, args []string) bool { util.LoadConfiguration("security", false) grpcDialOption := security.LoadClientTLS(util.GetViper(), "grpc.client") - defaultCollection, err := readMasterConfiguration(grpcDialOption, *upload.master) + defaultReplication, err := readMasterConfiguration(grpcDialOption, *upload.master) if err != nil { fmt.Printf("upload: %v", err) return false } if *upload.replication == "" { - *upload.replication = defaultCollection + *upload.replication = defaultReplication } if len(args) == 0 { |
