-
Notifications
You must be signed in to change notification settings - Fork 158
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid assigning nil value to required field in podSpec: Containers (#317
- Loading branch information
1 parent
eb7dcde
commit 1c295f7
Showing
1 changed file
with
5 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I am confused here, partly by this comment and also because I do not completely understand what the contract (or expected behavior) for this function is.
After the
Unmarshal
below,defaultSpecs
will have the exact same contents ofoverrideSpecs
, and thendefaultSpecs.Containers
is overwritten whenoverride.Containers
wasnil
. Is that the intended behavior?@SupriyaKasten Could you provide some context?