File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed
airbyte-integrations/connectors/source-file/source_file Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -112,13 +112,6 @@ def spec(self, logger: AirbyteLogger) -> ConnectorSpecification:
112112
113113 # override cloud spec to remove local file support
114114 if is_cloud_environment ():
115- for provider in spec .connectionSpecification ["properties" ]["provider" ]["oneOf" ]:
116- storage = provider ["properties" ]["storage" ]
117-
118- if "enum" in storage :
119- storage .pop ("enum" )
120- storage ["const" ] = storage .pop ("default" )
121-
122115 for i in range (len (spec .connectionSpecification ["properties" ]["provider" ]["oneOf" ])):
123116 provider = spec .connectionSpecification ["properties" ]["provider" ]["oneOf" ][i ]
124117 if provider ["properties" ]["storage" ]["const" ] == LOCAL_STORAGE_NAME :
You can’t perform that action at this time.
0 commit comments