mirror of
https://github.com/status-im/consul.git
synced 2025-01-10 22:06:20 +00:00
agent/cache: return the error as part of Get
This commit is contained in:
parent
00e7ab3cd5
commit
e1c1b8812a
2
agent/cache/cache.go
vendored
2
agent/cache/cache.go
vendored
@ -170,7 +170,7 @@ RETRY_GET:
|
||||
atomic.AddUint64(&c.hits, 1)
|
||||
}
|
||||
|
||||
return entry.Value, nil
|
||||
return entry.Value, entry.Error
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user