mackerelio/mackerel-agent — pull request #33 by motemen (2014-09-26 07:12:46+00:00)
Title: Update hostname on updating host specs

Curretly mackerel-agent uses the host's name that is obtained at its startup time,
so it cannot follow the hostname changes.

This PR adds hostname to `collectHostSpecs`'s return values so that the agent can
update the hostname every time it updates the host specs.