mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-05 14:02:00 +02:00
chore(weed/s3api/policy_engine): prune dead code (#10599)
This commit is contained in:
1 parent
fb92d46e2d
commit
2ff3dda7cd
2 files changed
+1
-4
No files matched your search
@@ -26,7 +26,6 @@ type PolicyEvaluationContext struct {
|
||||
bucketName string
|
||||
policy *CompiledPolicy
|
||||
cache *PolicyCache
|
||||
mutex sync.RWMutex
|
||||
}
|
||||
|
||||
// PolicyEngine is the main policy evaluation engine
|
||||
|
||||
@@ -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 policies
|
||||
type PolicyCache struct {
|
||||
policies map[string]*CompiledPolicy
|
||||
lastUpdate time.Time
|
||||
policies map[string]*CompiledPolicy
|
||||
}
|
||||
|
||||
// CompiledPolicy represents a policy that has been compiled for efficient evaluation
|
||||
|
||||
Reference in new issue
Block a user