We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9d85f28 commit ed6c84dCopy full SHA for ed6c84d
metadata-ingestion/src/datahub/ingestion/source/superset.py
@@ -301,7 +301,7 @@ def login(self) -> requests.Session:
301
f"{self.config.connect_uri}/api/v1/dashboard/",
302
timeout=self.config.timeout,
303
)
304
- if test_response.status_code == 200:
+ if test_response.status_code != 200:
305
# throw an error and terminate ingestion,
306
# cannot proceed without access token
307
logger.error(
0 commit comments