fix linting issues

This commit is contained in:
2026-05-11 10:46:17 +02:00
parent d1d97fed1b
commit a209debe09
2 changed files with 3 additions and 9 deletions

View File

@@ -114,9 +114,9 @@ func (conf *Config) Init() error {
return nil
}
func (conf *Config) PrintDebug() error {
func (conf *Config) PrintDebug() {
if !conf.Debug {
return nil
return
}
clone := *conf
@@ -128,8 +128,6 @@ func (conf *Config) PrintDebug() error {
fmt.Println("config:")
repr.Println(clone)
return nil
}
func (conf *Config) LoadEnv() error {

View File

@@ -90,11 +90,7 @@ func ClusterSettingsList(conf *cfg.Config) error {
slog.Debug("settings", topic, paths)
for setting, value := range paths {
entries = append(entries, []string{
fmt.Sprintf("%s", setting),
fmt.Sprintf("%v", value),
})
entries = append(entries, []string{setting, fmt.Sprintf("%v", value)})
}
}