Added a space before {
This commit is contained in:
parent
b4f9a989cb
commit
10358b418b
1 changed files with 1 additions and 1 deletions
|
@ -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{}{}
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue