spdfg / elektron

Elektron is a lightweight, power-aware, pluggable Mesos framework that behaves as a playground to experiment with different scheduling policies to schedule ad-hoc jobs in docker containers.
GNU General Public License v3.0
4 stars 3 forks source link

change Log() and Logf() to be pointer receivers and add test coverage. #23

Open pradykaushik opened 4 years ago

pradykaushik commented 4 years ago

Log and Logf should be pointer receivers for resetFields() to actually reset the fields of the original object and and not the copy.

This also makes adding test coverage all the more pertinent.