Slight mis-merge: secret-id in dev mode is random and needs to be returned.

This commit is contained in:
Sean Chittenden 2017-02-01 22:20:52 -08:00
parent bb422a2258
commit bb4347e277
No known key found for this signature in database
GPG Key ID: 4EBC9DC16C2E5E16
1 changed files with 1 additions and 1 deletions

View File

@ -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