chore: fix lint problems
This commit is contained in:
@@ -27,14 +27,14 @@ type wrapLogger struct {
|
||||
|
||||
func (n *wrapLogger) WithValues(map[string]interface{}) log.Logger { return n }
|
||||
func (n *wrapLogger) WithCtxValues(context.Context) log.Logger { return n }
|
||||
func (n *wrapLogger) SetValuesOnCtx(parent context.Context, values map[string]interface{}) context.Context {
|
||||
func (n *wrapLogger) SetValuesOnCtx(parent context.Context, _ map[string]interface{}) context.Context {
|
||||
return parent
|
||||
}
|
||||
func (n *wrapLogger) Warningf(template string, args ...interface{}) {
|
||||
n.Warnf(template, args...)
|
||||
}
|
||||
|
||||
type CmdConfig struct {
|
||||
type Config struct {
|
||||
WebhookListenAddr string
|
||||
TLSCertFilePath string
|
||||
TLSKeyFilePath string
|
||||
@@ -46,7 +46,7 @@ type CmdConfig struct {
|
||||
}
|
||||
|
||||
var (
|
||||
cmdConfig = &CmdConfig{
|
||||
cmdConfig = &Config{
|
||||
LabelMarks: map[string]string{},
|
||||
}
|
||||
serverCmd = &cobra.Command{
|
||||
|
||||
Reference in New Issue
Block a user