Slight mis-merge: secret-id in dev mode is random and needs to be returned.
This commit is contained in:
parent
bb422a2258
commit
bb4347e277
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue