diff options
| author | Ryan Russell <ryanrussell@users.noreply.github.com> | 2022-09-16 04:43:49 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-16 02:43:49 -0700 |
| commit | 824f7ad9e192c1999fdb5da3a9af8c112904cc66 (patch) | |
| tree | ed225295a530e83a11fee1b6f942d762ce25fd18 /weed/shell/command_s3_clean_uploads.go | |
| parent | 277976bd762a108d6b6f7f96500a769c5454549d (diff) | |
| download | seaweedfs-824f7ad9e192c1999fdb5da3a9af8c112904cc66.tar.xz seaweedfs-824f7ad9e192c1999fdb5da3a9af8c112904cc66.zip | |
refactor(shell): readability improvements (#3704)
Signed-off-by: Ryan Russell <git@ryanrussell.org>
Signed-off-by: Ryan Russell <git@ryanrussell.org>
Diffstat (limited to 'weed/shell/command_s3_clean_uploads.go')
| -rw-r--r-- | weed/shell/command_s3_clean_uploads.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/shell/command_s3_clean_uploads.go b/weed/shell/command_s3_clean_uploads.go index 831ca47c0..81af4bbb7 100644 --- a/weed/shell/command_s3_clean_uploads.go +++ b/weed/shell/command_s3_clean_uploads.go @@ -60,7 +60,7 @@ func (c *commandS3CleanUploads) Do(args []string, commandEnv *CommandEnv, writer for _, bucket := range buckets { if err := c.cleanupUploads(commandEnv, writer, filerBucketsPath, bucket, *uploadedTimeAgo, signingKey); err != nil { - fmt.Fprintf(writer, fmt.Sprintf("failed cleanup uploads for backet %s: %v", bucket, err)) + fmt.Fprintf(writer, fmt.Sprintf("failed cleanup uploads for bucket %s: %v", bucket, err)) } } |
