Skip to content

Commit

Permalink
Fix vitess config check
Browse files Browse the repository at this point in the history
  • Loading branch information
visch committed Feb 22, 2024
1 parent f7520c9 commit 6c0e974
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tap_mysql/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None:
**kwargs: Arbitrary keyword arguments.
"""
super().__init__(*args, **kwargs)
# Check if we are using PlanetScale,
# if so we need to let our connector know
# Ideally we'd just check to see if we're on Vitess,
# but I don't know how to do that quickly
self.is_vitess = False
self.is_vitess = self.config["is_vitess"]

if self.config.get("is_vitess") is None:
self.logger.info(
Expand Down

0 comments on commit 6c0e974

Please sign in to comment.