Skip to content

Commit f3dbc8c

Browse files
authored
Merge pull request #1497 from zapman449/zapman449/1494-tolerate-null-sources-projected-volumes
tolerate null sources on projected volumes
2 parents d8f283e + ee0e332 commit f3dbc8c

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

kubernetes/client/models/v1_projected_volume_source.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,6 @@ def sources(self, sources):
9999
:param sources: The sources of this V1ProjectedVolumeSource. # noqa: E501
100100
:type: list[V1VolumeProjection]
101101
"""
102-
if self.local_vars_configuration.client_side_validation and sources is None: # noqa: E501
103-
raise ValueError("Invalid value for `sources`, must not be `None`") # noqa: E501
104-
105102
self._sources = sources
106103

107104
def to_dict(self):

0 commit comments

Comments
 (0)