Skip to content

Commit ed6c84d

Browse files
committed
logic
1 parent 9d85f28 commit ed6c84d

File tree

1 file changed

+1
-1
lines changed
  • metadata-ingestion/src/datahub/ingestion/source

1 file changed

+1
-1
lines changed

metadata-ingestion/src/datahub/ingestion/source/superset.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ def login(self) -> requests.Session:
301301
f"{self.config.connect_uri}/api/v1/dashboard/",
302302
timeout=self.config.timeout,
303303
)
304-
if test_response.status_code == 200:
304+
if test_response.status_code != 200:
305305
# throw an error and terminate ingestion,
306306
# cannot proceed without access token
307307
logger.error(

0 commit comments

Comments
 (0)