mirror of
https://github.com/minio/minio.git
synced 2025-11-07 21:02:58 -05:00
support tagging based policy conditions (#15763)
This commit is contained in:
@@ -20,7 +20,6 @@ package lifecycle
|
||||
import (
|
||||
"encoding/xml"
|
||||
"io"
|
||||
"log"
|
||||
|
||||
"github.com/minio/minio-go/v7/pkg/tags"
|
||||
)
|
||||
@@ -172,7 +171,6 @@ func (f Filter) TestTags(userTags string) bool {
|
||||
|
||||
parsedTags, err := tags.ParseObjectTags(userTags)
|
||||
if err != nil {
|
||||
log.Printf("Unexpected object tag found: `%s`\n", userTags)
|
||||
return false
|
||||
}
|
||||
tagsMap := parsedTags.ToMap()
|
||||
|
||||
Reference in New Issue
Block a user