1
0
Fork 0
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:
Khaled Emara 2024-06-05 22:35:42 +03:00 committed by GitHub
parent a8e70c3066
commit b834bc0164
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -123,6 +123,7 @@ func (e *entry) setData(data any, err error) {
e.err = err
} else {
e.data = data
e.err = nil
}
}