Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DPE-5178 Admin address #502

Merged
merged 4 commits into from
Sep 12, 2024
Merged

DPE-5178 Admin address #502

merged 4 commits into from
Sep 12, 2024

Conversation

paulomach
Copy link
Contributor

@paulomach paulomach commented Sep 9, 2024

Port of admin_address on k8s.
VM PRs PR#516 and PR#520

f"result = session.run_sql(\"SHOW VARIABLES LIKE '{variable}'\")",
"print(result.fetch_all())",
]

try:
output = self._run_mysqlsh_script("\n".join(get_var_command))
except MySQLClientError:
logger.exception(f"Failed to get variable {variable}")
logger.exception(f"Failed to get value for {variable=}")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will the output be useful? The value obliviously will be empty (as failed to request).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It will. The variable will be set, the value won't.

@paulomach paulomach merged commit dfdd0bd into main Sep 12, 2024
86 of 87 checks passed
@paulomach paulomach deleted the feature/dpe-5178-admin-address branch September 12, 2024 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants