Merge pull request #14721 from zhengguoyong/err_value

add log err value
This commit is contained in:
Wojciech Tyczynski
2015-10-01 09:37:36 +02:00
4 changed files with 5 additions and 5 deletions

View File

@@ -285,7 +285,7 @@ func validatePredicateOrDie(predicate schedulerapi.PredicatePolicy) {
numArgs++
}
if numArgs != 1 {
glog.Fatalf("Exactly 1 predicate argument is required")
glog.Fatalf("Exactly 1 predicate argument is required, numArgs: %v", numArgs)
}
}
}