mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 02:15:43 +03:00
Unconditionally lowercase the node ID read from disk.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user