add log err value

This commit is contained in:
eulerzgy
2015-09-29 17:09:25 +08:00
parent abe5a7d5ad
commit b1be6bc8ea
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)
}
}
}