Merge pull request #1497 from zapman449/zapman449/1494-tolerate-null-sources-projected-volumes

tolerate null sources on projected volumes
This commit is contained in:
Kubernetes Prow Robot 2021-06-21 10:50:51 -07:00 committed by GitHub
commit f3dbc8cbf1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -99,9 +99,6 @@ class V1ProjectedVolumeSource(object):
:param sources: The sources of this V1ProjectedVolumeSource. # noqa: E501
:type: list[V1VolumeProjection]
"""
if self.local_vars_configuration.client_side_validation and sources is None: # noqa: E501
raise ValueError("Invalid value for `sources`, must not be `None`") # noqa: E501
self._sources = sources
def to_dict(self):