mirror of
https://github.com/axllent/mailpit.git
synced 2025-07-03 00:46:58 +02:00
Remove redundant check
This commit is contained in:
@ -33,7 +33,7 @@ func LoadTagFilters() {
|
|||||||
logger.Log().Warnf("[tags] ignoring tag item with missing 'match'")
|
logger.Log().Warnf("[tags] ignoring tag item with missing 'match'")
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
if t.Tags == nil || len(t.Tags) == 0 {
|
if len(t.Tags) == 0 {
|
||||||
logger.Log().Warnf("[tags] ignoring tag items with missing 'tags' array")
|
logger.Log().Warnf("[tags] ignoring tag items with missing 'tags' array")
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user