SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
chore(weed/s3api/policy_engine): prune dead code (#10599)
Lars Lehtonen2ff3dda7cdc1
diff --git a/weed/s3api/policy_engine/engine.go b/weed/s3api/policy_engine/engine.goindex b0a98d6b7d..6e54fdf91b 100644--- a/weed/s3api/policy_engine/engine.go+++ b/weed/s3api/policy_engine/engine.go@@ -26,7 +26,6 @@ type PolicyEvaluationContext struct {bucketName stringpolicy *CompiledPolicycache *PolicyCache- mutex sync.RWMutex}// PolicyEngine is the main policy evaluation enginediff --git a/weed/s3api/policy_engine/types.go b/weed/s3api/policy_engine/types.goindex b9df7ab368..fe61b0263b 100644--- a/weed/s3api/policy_engine/types.go+++ b/weed/s3api/policy_engine/types.go@@ -7,7 +7,6 @@ import ("slices""sort""strings"- "time""github.com/seaweedfs/seaweedfs/weed/glog"s3const "github.com/seaweedfs/seaweedfs/weed/s3api/s3_constants"@@ -320,8 +319,7 @@ type PolicyEvaluationArgs struct {// PolicyCache for caching compiled policiestype PolicyCache struct {- policies map[string]*CompiledPolicy- lastUpdate time.Time+ policies map[string]*CompiledPolicy}// CompiledPolicy represents a policy that has been compiled for efficient evaluation