aboutsummaryrefslogtreecommitdiff
path: root/weed/s3api/policy/post-policy.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/s3api/policy/post-policy.go')
-rw-r--r--weed/s3api/policy/post-policy.go11
1 files changed, 5 insertions, 6 deletions
diff --git a/weed/s3api/policy/post-policy.go b/weed/s3api/policy/post-policy.go
index 40e1b99ba..64b696ac8 100644
--- a/weed/s3api/policy/post-policy.go
+++ b/weed/s3api/policy/post-policy.go
@@ -34,12 +34,11 @@ const expirationDateFormat = "2006-01-02T15:04:05.999Z"
//
// Example:
//
-// policyCondition {
-// matchType: "$eq",
-// key: "$Content-Type",
-// value: "image/png",
-// }
-//
+// policyCondition {
+// matchType: "$eq",
+// key: "$Content-Type",
+// value: "image/png",
+// }
type policyCondition struct {
matchType string
condition string