Unconditionally lowercase the node ID read from disk.

This commit is contained in:
Sean Chittenden
2017-02-06 16:20:17 -08:00
parent cf9c432dd8
commit c3c44d27fc

View File

@@ -666,7 +666,7 @@ func (c *Client) nodeID() (id, secret string, err error) {
// Use existing ID if any
if len(idBuf) != 0 {
id = string(idBuf)
id = strings.ToLower(string(idBuf))
} else {
id = hostID