mirror of
https://github.com/whyour/qinglong.git
synced 2026-09-22 02:27:44 +08:00
feat(ql3): admit copilot diagnosis runs
This commit is contained in:
@@ -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