diff --git a/filters/diag/absorb.go b/filters/diag/absorb.go index 0d53601236..f48b891ca8 100644 --- a/filters/diag/absorb.go +++ b/filters/diag/absorb.go @@ -68,9 +68,8 @@ func NewAbsorbSilent() filters.Spec { func (a *absorb) Name() string { if a.silent { return filters.AbsorbSilentName - } else { - return filters.AbsorbName } + return filters.AbsorbName } func (a *absorb) CreateFilter(args []interface{}) (filters.Filter, error) { return a, nil } diff --git a/proxy/teebody.go b/proxy/teebody.go index a9bb637cff..590efe6092 100644 --- a/proxy/teebody.go +++ b/proxy/teebody.go @@ -1,10 +1,11 @@ package proxy import ( - log "github.com/sirupsen/logrus" "io" "net/http" "net/url" + + log "github.com/sirupsen/logrus" ) type teeTie struct {