agent/cache: return the error as part of Get

This commit is contained in:
Mitchell Hashimoto 2018-04-17 18:07:47 -05:00
parent 00e7ab3cd5
commit e1c1b8812a
No known key found for this signature in database
GPG Key ID: 744E147AA52F5B0A
1 changed files with 1 additions and 1 deletions

View File

@ -170,7 +170,7 @@ RETRY_GET:
atomic.AddUint64(&c.hits, 1)
}
return entry.Value, nil
return entry.Value, entry.Error
}
}