Commit de6264c
committed
use set function instead of merge
merge does a deep merge, but that could cause weird problems
if two different livenessProbe definitions were merged and
other things that would not make sense.
Instead, we use set to mutate the $sensor dictionary applying
the override values on top of the defaults, effectively merging
only one level of the dictionaries.1 parent 9027a0f commit de6264c
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
982 | 982 | | |
983 | 983 | | |
984 | 984 | | |
985 | | - | |
| 985 | + | |
| 986 | + | |
| 987 | + | |
| 988 | + | |
986 | 989 | | |
987 | 990 | | |
988 | 991 | | |
| |||
0 commit comments