mirror of
https://github.com/containrrr/watchtower.git
synced 2025-12-14 06:06:38 +01:00
fix fmt and vetting issues
This commit is contained in:
parent
ca292a1817
commit
a7a28ec984
6 changed files with 5 additions and 7 deletions
|
|
@ -56,7 +56,7 @@ func FilterByScope(scope string, baseFilter t.Filter) t.Filter {
|
|||
if scope == "" {
|
||||
return baseFilter
|
||||
}
|
||||
|
||||
|
||||
return func(c t.FilterableContainer) bool {
|
||||
containerScope, ok := c.Scope()
|
||||
if ok && containerScope == scope {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue