Made a tiny change in the logging message in AddHostIfNew(..) function
This commit is contained in:
parent
ca24706582
commit
1915e589cd
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ func AddHostIfNew(offer *mesos.Offer) {
|
||||||
var host = offer.GetHostname()
|
var host = offer.GetHostname()
|
||||||
// If this host is not present in the set of hosts.
|
// If this host is not present in the set of hosts.
|
||||||
if _, ok := constants.Hosts[host]; !ok {
|
if _, ok := constants.Hosts[host]; !ok {
|
||||||
log.Printf("New host found. Adding host [%s]", host)
|
log.Printf("New host detected. Adding host [%s]", host)
|
||||||
// Add this host.
|
// Add this host.
|
||||||
constants.Hosts[host] = struct{}{}
|
constants.Hosts[host] = struct{}{}
|
||||||
// Get the power class of this host.
|
// Get the power class of this host.
|
||||||
|
|
Reference in a new issue