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

fix(sqlserver): 修复原地重建低版本异常的问题 #8761 #8762

Merged
merged 1 commit into from
Dec 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,9 @@ def get_group_name(master_instance: StorageInstance, bk_cloud_id: int, is_check_
}
)
if ret[0]["error_msg"]:
if is_check_group:
# 如果设置True则正常返回空字符串
return ""
raise Exception(f"[{master_instance.ip_port}] get_group_name failed: {ret[0]['error_msg']}")

if len(ret[0]["cmd_results"][0]["table_data"]) == 0:
Expand Down
Loading