mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-20 03:12:15 +00:00
test(core): Fix multiple parallel private key checks (no-changelog) (#9012)
This commit is contained in:
@@ -46,6 +46,11 @@ export class MoveSshKeysToDatabase1711390882123 implements ReversibleMigration {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!privateKey) {
|
||||
logger.error(`[${migrationName}] No private key found, skipping`);
|
||||
return;
|
||||
}
|
||||
|
||||
const value = JSON.stringify({
|
||||
encryptedPrivateKey: this.cipher.encrypt(privateKey),
|
||||
publicKey,
|
||||
|
||||
Reference in New Issue
Block a user