Commit 4ab6495
committed
prevent panic caused by accessing unexported fields
This PR fixes a panic caused by predicate trying to access unexported
fields without properly checking if the field is exported. When this
happens, reflection package panics.
Signed-off-by: Tiago Silva <tiago.silva@goteleport.com>1 parent 93c5cee commit 4ab6495
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
183 | 188 | | |
184 | 189 | | |
185 | 190 | | |
| |||
0 commit comments