Skip to content

Commit

Permalink
Merge pull request #301 from wayyoungboy/2.3.0-fix_obdiag_config
Browse files Browse the repository at this point in the history
2.3.0 fix obdiag config
  • Loading branch information
Teingi authored Jul 4, 2024
2 parents debb733 + 057655a commit a1f590a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ def get_obproxy_version(context):


def get_observer_version_by_sql(ob_cluster, stdio=None):
stdio.verbose("start get_observer_version_by_sql . input: {0}".format(ob_cluster))
stdio.verbose("start get_observer_version_by_sql . input: {0}:{1}".format(ob_cluster.get("db_host"), ob_cluster.get("db_port")))
try:
ob_connector = OBConnector(ip=ob_cluster.get("db_host"), port=ob_cluster.get("db_port"), username=ob_cluster.get("tenant_sys").get("user"), password=ob_cluster.get("tenant_sys").get("password"), stdio=stdio, timeout=100)
ob_version_info = ob_connector.execute_sql("select version();")
Expand Down

0 comments on commit a1f590a

Please sign in to comment.