mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-11 08:47:46 +02:00
go fmt
This commit is contained in:
1 parent
c99e8d4152
commit
b049e883e1
1 file changed
+1
-1
@@ -226,7 +226,7 @@ func matchesActionPattern(pattern, action string) bool {
|
||||
// matchesResource checks if the resource ARN matches the statement's resource specification
|
||||
// Returns true if resource matches or if Resource is not specified (implicit match)
|
||||
func matchesResource(resourceSpec interface{}, resourceARN string) bool {
|
||||
// If no Resource is specified, match all resources (implicit *)
|
||||
// If no Resource is specified, match all resources (implicit *)
|
||||
if resourceSpec == nil {
|
||||
return true
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user