mirror of
https://github.com/kemko/nomad.git
synced 2026-01-04 09:25:46 +03:00
Slight mis-merge: secret-id in dev mode is random and needs to be returned.
This commit is contained in:
@@ -646,7 +646,7 @@ func (c *Client) nodeID() (id, secret string, err error) {
|
||||
|
||||
// Do not persist in dev mode
|
||||
if c.config.DevMode {
|
||||
return hostID, nil
|
||||
return hostID, structs.GenerateUUID(), nil
|
||||
}
|
||||
|
||||
// Attempt to read existing ID
|
||||
|
||||
Reference in New Issue
Block a user