diff --git a/weed/shell/command_s3_helpers.go b/weed/shell/command_s3_helpers.go deleted file mode 100644 index 4851f9fca..000000000 --- a/weed/shell/command_s3_helpers.go +++ /dev/null @@ -1,11 +0,0 @@ -package shell - -import "strings" - -// joinMax joins up to max strings with ", " and appends "..." if truncated. -func joinMax(items []string, max int) string { - if len(items) <= max { - return strings.Join(items, ", ") - } - return strings.Join(items[:max], ", ") + "..." -}