agent/cache: update comments

This commit is contained in:
Mitchell Hashimoto 2018-06-03 13:22:33 -07:00 committed by Jack Pearkes
parent ea0270e6aa
commit 55b3d5d6f4
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. // as part of Refresh behavior.
// //
// The return value is a FetchResult which contains information about // 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 // On timeout, FetchResult can behave one of two ways. First, it can
// return the last known value. This is the default behavior of blocking // return the last known value. This is the default behavior of blocking