Commit 77c41dd
Allow nil interfaces in template context
It was discovered during testing that an empty interface (which could be
encoded via 'null' in YAML) would cause a panic. This should be an
allowed type, basically like a primitive.
Refs:
- https://issues.redhat.com/browse/ACM-20863
Signed-off-by: Justin Kulikauskas <jkulikau@redhat.com>1 parent 73dd6f9 commit 77c41dd
2 files changed
+13
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
414 | 414 | | |
415 | 415 | | |
416 | 416 | | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
417 | 420 | | |
418 | 421 | | |
419 | 422 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
962 | 962 | | |
963 | 963 | | |
964 | 964 | | |
| 965 | + | |
| 966 | + | |
| 967 | + | |
| 968 | + | |
| 969 | + | |
| 970 | + | |
| 971 | + | |
| 972 | + | |
| 973 | + | |
| 974 | + | |
965 | 975 | | |
966 | 976 | | |
967 | 977 | | |
| |||
0 commit comments