aboutsummaryrefslogtreecommitdiff
path: root/weed/command
diff options
context:
space:
mode:
authorTom Crasset <25140344+tcrasset@users.noreply.github.com>2025-01-17 10:03:17 +0100
committerGitHub <noreply@github.com>2025-01-17 01:03:17 -0800
commitc5f21b2b01deb10a542455b95285860a53f1f4d0 (patch)
tree4d4ae04e47758a3f41e2071526a72306ac02a4f7 /weed/command
parenteab2e0e1127e2d8ccdee9ee518e0ae20ea8311ba (diff)
downloadseaweedfs-c5f21b2b01deb10a542455b95285860a53f1f4d0.tar.xz
seaweedfs-c5f21b2b01deb10a542455b95285860a53f1f4d0.zip
fix S3 per-user-directory Policy (#6443)
* fix S3 per-user-directory Policy * Delete docker/config.json * add tests * remove logs * undo modifications of weed/shell/command_volume_balance.go * remove modifications of docker-compose * fix failing test --------- Co-authored-by: Chris Lu <chrislusf@users.noreply.github.com>
Diffstat (limited to 'weed/command')
-rw-r--r--weed/command/iam.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/weed/command/iam.go b/weed/command/iam.go
index fa21803dd..f4a7df2ca 100644
--- a/weed/command/iam.go
+++ b/weed/command/iam.go
@@ -5,6 +5,8 @@ import (
"fmt"
"net/http"
+ "time"
+
"github.com/gorilla/mux"
"github.com/seaweedfs/seaweedfs/weed/glog"
"github.com/seaweedfs/seaweedfs/weed/iamapi"
@@ -12,7 +14,6 @@ import (
"github.com/seaweedfs/seaweedfs/weed/pb/filer_pb"
"github.com/seaweedfs/seaweedfs/weed/security"
"github.com/seaweedfs/seaweedfs/weed/util"
- "time"
)
var (
@@ -35,7 +36,7 @@ func init() {
}
var cmdIam = &Command{
- UsageLine: "iam [-port=8111] [-filer=<ip:port>] [-masters=<ip:port>,<ip:port>]",
+ UsageLine: "iam [-port=8111] [-filer=<ip:port>] [-master=<ip:port>,<ip:port>]",
Short: "start a iam API compatible server",
Long: "start a iam API compatible server.",
}