Params-->Keys

This commit is contained in:
Niko Kivel
2021-05-11 08:45:09 +02:00
parent c12f257428
commit 17f26e8bf1
10 changed files with 70 additions and 69 deletions

View File

@@ -55,8 +55,8 @@ func CobraRunE(cmd *cobra.Command, args []string) error {
fmt.Printf("%-20s %-18s %t\n", profile.Id.Get(), name+":DEFAULT", netdev.Default.PrintB())
}
for name, param := range profile.Params {
fmt.Printf("%-20s %-18s %s\n", profile.Id.Get(), name, param.Print())
for name, key := range profile.Keys {
fmt.Printf("%-20s %-18s %s\n", profile.Id.Get(), name, key.Print())
}
}
} else {