Added a space before {

This commit is contained in:
Abhishek Jain 2017-03-24 16:31:49 -04:00
parent b4f9a989cb
commit 10358b418b

View file

@ -81,7 +81,7 @@ func AddHostIfNew(offer *mesos.Offer) {
constants.PowerClasses[class] = make(map[string]struct{})
}
// If the host of this class is not yet present in PowerClasses[class], add it.
if _, ok:= constants.PowerClasses[class][host]; !ok{
if _, ok:= constants.PowerClasses[class][host]; !ok {
constants.PowerClasses[class][host] = struct{}{}
}
}