fingerprint: Add backwards compatibility comment

Co-Authored-By: Michael Schurter <mschurter@hashicorp.com>
This commit is contained in:
Danielle 2019-09-04 17:38:35 +02:00 committed by GitHub
parent 67715d846e
commit aa5605fce1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -45,6 +45,7 @@ func (f *MemoryFingerprint) Fingerprint(req *FingerprintRequest, resp *Fingerpri
memoryMB := totalMemory / bytesInMB
// COMPAT(0.10): Unused since 0.9.
resp.Resources = &structs.Resources{
MemoryMB: int(memoryMB),
}