AMI ID is potentally non-unique
Changed the keys map to reflect that.
This commit is contained in:
parent
46365ef22f
commit
ae466eaaa7
|
@ -95,7 +95,7 @@ func (f *EnvAWSFingerprint) Fingerprint(cfg *config.Config, node *structs.Node)
|
|||
// uniquely identifies a node, such as ip, should be marked as unique. When
|
||||
// marked as unique, the key isn't included in the computed node class.
|
||||
keys := map[string]bool{
|
||||
"ami-id": true,
|
||||
"ami-id": false,
|
||||
"hostname": true,
|
||||
"instance-id": true,
|
||||
"instance-type": false,
|
||||
|
|
Loading…
Reference in a new issue