Skip to content

Commit

Permalink
fix get_obproxy_version on rca (#326)
Browse files Browse the repository at this point in the history
* fix KubernetesClient

* fix KubernetesClient

* fix KubernetesClient

* fix KubernetesClient

* fix "nodename nor servname provided"

* delete build tag

* fix ssh stdio print

* fix remote_client

* fix example operator.yml

* fix get_obproxy_version on rca
  • Loading branch information
wayyoungboy authored Jul 15, 2024
1 parent 0154718 commit 5950030
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions handler/rca/rca_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,7 @@ def __init__(self, context):
obproxy_version = ""
try:
if len(context_obproxy_nodes) > 0:
obproxy_version = get_obproxy_version(
True,
context_obproxy_nodes[0]["ssher"],
context_obproxy_nodes[0]["home_path"],
self.stdio,
)
obproxy_version = get_obproxy_version(context)
except Exception as e:
self.stdio.warn("RCAHandler.init Failed to get obproxy version. Error:{0}".format(e))
if obproxy_version != "":
Expand Down

0 comments on commit 5950030

Please sign in to comment.