glog.Warning -> glog.Warningf

Fix three places where glog.Warning is used with a formatted string.
This commit is contained in:
Miciah Masters
2015-08-19 15:45:37 -04:00
committed by Miciah Dashiel Butler Masters
parent ed36bfa860
commit 8aa299da90
3 changed files with 3 additions and 3 deletions

View File

@@ -310,7 +310,7 @@ func (runner *runner) run(op operation, args []string) ([]byte, error) {
func (runner *runner) checkRule(table Table, chain Chain, args ...string) (bool, error) {
checkPresent, err := getIptablesHasCheckCommand(runner.exec)
if err != nil {
glog.Warning("Error checking iptables version, assuming version at least 1.4.11: %v", err)
glog.Warningf("Error checking iptables version, assuming version at least 1.4.11: %v", err)
checkPresent = true
}
if checkPresent {