Params-->Keys
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user