mirror of https://github.com/hashicorp/consul
agent/cache: return the error as part of Get
parent
00e7ab3cd5
commit
e1c1b8812a
|
@ -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