mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-31 03:45:17 +00:00
fix(gctx): returning old error (#10398)
Signed-off-by: Khaled Emara <khaled.emara@nirmata.com> Co-authored-by: Mariam Fahmy <mariam.fahmy@nirmata.com>
This commit is contained in:
parent
a8e70c3066
commit
b834bc0164
1 changed files with 1 additions and 0 deletions
|
@ -123,6 +123,7 @@ func (e *entry) setData(data any, err error) {
|
|||
e.err = err
|
||||
} else {
|
||||
e.data = data
|
||||
e.err = nil
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue