Vinod Kone created MESOS-1182:
---------------------------------
Summary: Implement an output stream operator overload for
Master::Slave
Key: MESOS-1182
URL: https://issues.apache.org/jira/browse/MESOS-1182
Project: Mesos
Issue Type: Improvement
Reporter: Vinod Kone
Fix For: 0.19.0
There are several places in master.cpp where we print a slave as
LOG(INFO) << slave->id << "(" << slave->info.hostname() << ")";
Sometimes we also include "slave->pid" in this message.
Sometimes we forgot to include the hostname.
It would be much cleaner if we can just do the below everywhere.
LOG(INFO) << "Slave: " << slave << "..";
--
This message was sent by Atlassian JIRA
(v6.2#6252)