fixed linting

This commit is contained in:
Christian Goll
2022-02-23 11:14:35 +01:00
parent 5ac75661c9
commit 88631a98d3
2 changed files with 4 additions and 4 deletions

View File

@@ -137,10 +137,10 @@ func CobraRunE(cmd *cobra.Command, args []string) error {
}
if SetIpmiWrite == "yes" || SetNetOnBoot == "y" || SetNetOnBoot == "1" || SetNetOnBoot == "true" {
wwlog.Printf(wwlog.VERBOSE, "Node: %s, Setting Ipmiwrite\n", n.Id.Get(), SetIpmiWrite)
wwlog.Printf(wwlog.VERBOSE, "Node: %s, Setting Ipmiwrite to %s\n", n.Id.Get(), SetIpmiWrite)
n.IpmiWrite.SetB(true)
} else {
wwlog.Printf(wwlog.VERBOSE, "Node: %s, Setting Ipmiwrite \n", n.Id.Get(), SetIpmiWrite)
wwlog.Printf(wwlog.VERBOSE, "Node: %s, Setting Ipmiwrite to %s\n", n.Id.Get(), SetIpmiWrite)
n.IpmiWrite.SetB(false)
}