cmd/config: Align print to new tags

This commit is contained in:
Daniele Rondina 2020-01-02 18:38:07 +01:00
parent 5358475069
commit cd0e588fa9

View File

@ -32,13 +32,13 @@ var configCmd = &cobra.Command{
fmt.Println(config.LuetCfg.GetGeneral())
fmt.Println(config.LuetCfg.GetSystem())
if len(config.LuetCfg.CacheRepositories) > 0 {
fmt.Println("cache_repositories:")
fmt.Println("repetitors:")
for _, r := range config.LuetCfg.CacheRepositories {
fmt.Println(" - ", r.String())
}
}
if len(config.LuetCfg.SystemRepositories) > 0 {
fmt.Println("system_repositories:")
fmt.Println("repositories:")
for _, r := range config.LuetCfg.SystemRepositories {
fmt.Println(" - ", r.String())
}