Commit 1708959
authored
Fix nil dereference from
Fixes aws-controllers-k8s/community#918
Description of changes:
`nil` check spec fields before attempting to dereference in hook code.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.Bucket fields (#41)1 parent a2654b9 commit 1708959
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
300 | 300 | | |
301 | 301 | | |
302 | 302 | | |
303 | | - | |
| 303 | + | |
| 304 | + | |
304 | 305 | | |
305 | 306 | | |
306 | 307 | | |
| |||
375 | 376 | | |
376 | 377 | | |
377 | 378 | | |
378 | | - | |
| 379 | + | |
| 380 | + | |
379 | 381 | | |
380 | 382 | | |
381 | 383 | | |
| |||
0 commit comments