mirror of
https://github.com/rancher/os.git
synced 2025-09-01 14:48:55 +00:00
Fix golint errors
This commit is contained in:
@@ -119,10 +119,10 @@ func (b *Bonding) Opt(key, value string) error {
|
||||
if err := ioutil.WriteFile(p, []byte(value), 0644); err != nil {
|
||||
logrus.Errorf("Failed to set %s=%s on %s: %v", key, value, b.name, err)
|
||||
return err
|
||||
} else {
|
||||
logrus.Infof("Set %s=%s on %s", key, value, b.name)
|
||||
}
|
||||
|
||||
logrus.Infof("Set %s=%s on %s", key, value, b.name)
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user