Skip to content

Commit

Permalink
Fix KVGet method to handle QueryOptions properly
Browse files Browse the repository at this point in the history
  • Loading branch information
kisunji committed Jun 2, 2022
1 parent 67860bd commit 9af3b99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agent/kvs_endpoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ func (s *HTTPHandlers) KVSGet(resp http.ResponseWriter, req *http.Request, args

// Make the RPC
var out structs.IndexedDirEntries
if err := s.agent.RPC(method, &args, &out); err != nil {
if err := s.agent.RPC(method, args, &out); err != nil {
return nil, err
}
setMeta(resp, &out.QueryMeta)
Expand Down

0 comments on commit 9af3b99

Please sign in to comment.