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
|
|
@ -78,4 +78,3 @@ func (_m *FilterableContainer) Scope() (string, bool) {
|
||||||
|
|
||||||
return r0, r1
|
return r0, r1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,8 +4,8 @@ import (
|
||||||
"bytes"
|
"bytes"
|
||||||
"fmt"
|
"fmt"
|
||||||
"github.com/containrrr/shoutrrr/pkg/types"
|
"github.com/containrrr/shoutrrr/pkg/types"
|
||||||
"text/template"
|
|
||||||
"strings"
|
"strings"
|
||||||
|
"text/template"
|
||||||
|
|
||||||
"github.com/containrrr/shoutrrr"
|
"github.com/containrrr/shoutrrr"
|
||||||
t "github.com/containrrr/watchtower/pkg/types"
|
t "github.com/containrrr/watchtower/pkg/types"
|
||||||
|
|
|
||||||
|
|
@ -75,7 +75,6 @@ func TestShoutrrrStringFunctions(t *testing.T) {
|
||||||
require.Equal(t, "INFO: foo bar Foo Bar\n", s)
|
require.Equal(t, "INFO: foo bar Foo Bar\n", s)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
func TestShoutrrrInvalidTemplateUsesTemplate(t *testing.T) {
|
func TestShoutrrrInvalidTemplateUsesTemplate(t *testing.T) {
|
||||||
cmd := new(cobra.Command)
|
cmd := new(cobra.Command)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue