mirror of
https://github.com/kyverno/kyverno.git
synced 2024-12-15 17:51:20 +00:00
fix: replace AbsPath with RequestURI to support query params (#4849)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com> Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
This commit is contained in:
parent
83b7f919aa
commit
c74209f6c5
1 changed files with 1 additions and 1 deletions
|
@ -145,7 +145,7 @@ func (c *client) RawAbsPath(path string) ([]byte, error) {
|
|||
if c.restClient == nil {
|
||||
return nil, errors.New("rest client not supported")
|
||||
}
|
||||
return c.restClient.Get().AbsPath(path).DoRaw(context.TODO())
|
||||
return c.restClient.Get().RequestURI(path).DoRaw(context.TODO())
|
||||
}
|
||||
|
||||
// PatchResource patches the resource
|
||||
|
|
Loading…
Reference in a new issue