mirror of
https://github.com/whyour/qinglong.git
synced 2026-12-01 01:39:52 +08:00
feat(ql3): admit copilot diagnosis runs
This commit is contained in:
1 parent
aae96390cc
commit
0163c94be7
24 files changed
+3078
-22
No files matched your search
@@ -89,7 +89,10 @@ function assertSafeRecovery(
|
||||
recovery: ClusterControlStartupRecoverySummary,
|
||||
): void {
|
||||
if (!recovery.safe || recovery.remaining !== 0 || recovery.failed !== 0) {
|
||||
throw new Error('Cluster-control startup recovery did not converge safely');
|
||||
throw new Error(
|
||||
'Cluster-control startup recovery did not converge safely ' +
|
||||
`(remaining=${recovery.remaining}, failed=${recovery.failed})`,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user