Skip to content

Commit 08397ad

Browse files
committed
fix condition direction
1 parent 3cb8faf commit 08397ad

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

airbyte_cdk/entrypoint.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,7 @@ def run(self, parsed_args: argparse.Namespace) -> Iterable[str]:
149149
elif (
150150
cmd == "discover"
151151
and not parsed_args.config
152-
and hasattr(self.source, "check_config_during_discover")
153-
and self.source.check_config_during_discover
152+
and not self.source.check_config_during_discover
154153
):
155154
# Connector supports unprivileged discover
156155
empty_config: dict[str, Any] = {}

0 commit comments

Comments
 (0)