diff --git a/ocp_resources/data_source.py b/ocp_resources/data_source.py index 7119998880..706fa6ee56 100644 --- a/ocp_resources/data_source.py +++ b/ocp_resources/data_source.py @@ -25,13 +25,6 @@ def __init__(self, source=None, **kwargs): def to_dict(self): super().to_dict() if not self.yaml_file: - self.res.update( - { - "spec": { - "source": self.source, - }, - } - ) if not self._source: raise ValueError("Passing yaml_file or parameter 'source' is required")