fix: 修复NapCat运行态边界检查
This commit is contained in:
parent
eaf22706d8
commit
d75240459b
@ -83,8 +83,8 @@ export class NapcatRuntimeProfileService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Persists the planned runtime and protocol profile after Docker accepts a managed container rebuild.
|
* Persists the planned runtime and protocol profile after managed runtime creation succeeds.
|
||||||
* @param input - Account/container identity, generated runtime profile, and config hashes that establish the expected state before live inspection.
|
* @param input - Account/runtime identity, generated runtime profile, and config hashes that establish the expected state before live inspection.
|
||||||
*/
|
*/
|
||||||
async recordPlannedProfiles(input: RecordPlannedProfilesInput) {
|
async recordPlannedProfiles(input: RecordPlannedProfilesInput) {
|
||||||
const accountId = `${input.accountId || ''}`.trim();
|
const accountId = `${input.accountId || ''}`.trim();
|
||||||
@ -120,8 +120,7 @@ export class NapcatRuntimeProfileService {
|
|||||||
lastCheckedAt: null,
|
lastCheckedAt: null,
|
||||||
locale: input.runtimeProfile.locale,
|
locale: input.runtimeProfile.locale,
|
||||||
localeAvailable: false,
|
localeAvailable: false,
|
||||||
macStrategy:
|
macStrategy: input.deviceIdentity?.macStrategy || 'managed-mac-v1',
|
||||||
input.deviceIdentity?.macStrategy || 'docker-bridge-mac-v1',
|
|
||||||
migrateDeviceIdentity: !!input.deviceIdentity,
|
migrateDeviceIdentity: !!input.deviceIdentity,
|
||||||
persistCache: input.runtimeProfile.persistCache,
|
persistCache: input.runtimeProfile.persistCache,
|
||||||
persistLocalShare: input.runtimeProfile.persistLocalShare,
|
persistLocalShare: input.runtimeProfile.persistLocalShare,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user