Changed a log message in the UpdateEnvironment(..) func.
This commit is contained in:
parent
e01c7b1b1d
commit
de7e73ff50
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ func UpdateEnvironment(offer *mesos.Offer) {
|
|||
constants.Hosts[host] = struct{}{}
|
||||
// Get the power class of this host.
|
||||
class := offerUtils.PowerClass(offer)
|
||||
log.Printf("Registering the power class of this host [%s] --> [%s]", host, class)
|
||||
log.Printf("Registering the power class... Host [%s] --> PowerClass [%s]", host, class)
|
||||
// If new power class, register the power class.
|
||||
if _, ok := constants.PowerClasses[class]; !ok {
|
||||
constants.PowerClasses[class] = make(map[string]struct{})
|
||||
|
|
Reference in a new issue