agent/cache: return the error as part of Get
This commit is contained in:
parent
6ecc2da7ff
commit
109bb946e9
|
@ -170,7 +170,7 @@ RETRY_GET:
|
|||
atomic.AddUint64(&c.hits, 1)
|
||||
}
|
||||
|
||||
return entry.Value, nil
|
||||
return entry.Value, entry.Error
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue