mirror of
https://codeberg.org/scip/esctl.git
synced 2026-08-24 06:34:18 +02:00
fix linting issues
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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)})
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user