Skip to content

Commit 240ffe3

Browse files
committed
this is no longer needed
1 parent d1eba9a commit 240ffe3

File tree

1 file changed

+0
-7
lines changed
  • airbyte-integrations/connectors/source-file/source_file

1 file changed

+0
-7
lines changed

airbyte-integrations/connectors/source-file/source_file/source.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff 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:

0 commit comments

Comments
 (0)