agent/cache: update comments

This commit is contained in:
Mitchell Hashimoto 2018-06-03 13:22:33 -07:00 committed by Jack Pearkes
parent 839d3c323d
commit d609ad216b
1 changed files with 2 additions and 1 deletions

3
agent/cache/type.go vendored
View File

@ -14,7 +14,8 @@ type Type interface {
// as part of Refresh behavior.
//
// The return value is a FetchResult which contains information about
// the fetch.
// the fetch. If an error is given, the FetchResult is ignored. The
// cache does not support backends that return partial values.
//
// On timeout, FetchResult can behave one of two ways. First, it can
// return the last known value. This is the default behavior of blocking