mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-13 01:28:37 +02:00
fix bug: upload big .gz file more than maxMB
This commit is contained in:
1 parent
f7ff98c747
commit
d96d0a87cf
3 files changed
+34
-33
No files matched your search
@@ -63,7 +63,7 @@ var cmdUpload = &Command{
|
||||
|
||||
func runUpload(cmd *Command, args []string) bool {
|
||||
secret := security.Secret(*upload.secretKey)
|
||||
if len(cmdUpload.Flag.Args()) == 0 {
|
||||
if len(args) == 0 {
|
||||
if *upload.dir == "" {
|
||||
return false
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user