fingerprint: Add backwards compatibility comment
Co-Authored-By: Michael Schurter <mschurter@hashicorp.com>
This commit is contained in:
parent
67715d846e
commit
aa5605fce1
|
@ -45,6 +45,7 @@ func (f *MemoryFingerprint) Fingerprint(req *FingerprintRequest, resp *Fingerpri
|
||||||
|
|
||||||
memoryMB := totalMemory / bytesInMB
|
memoryMB := totalMemory / bytesInMB
|
||||||
|
|
||||||
|
// COMPAT(0.10): Unused since 0.9.
|
||||||
resp.Resources = &structs.Resources{
|
resp.Resources = &structs.Resources{
|
||||||
MemoryMB: int(memoryMB),
|
MemoryMB: int(memoryMB),
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue