fix: 收敛 AgentRun Secret 同步输出
This commit is contained in:
@@ -298,17 +298,8 @@ export async function secretSync(config: UniDeskConfig, options: SecretSyncOptio
|
||||
filter: options.secretIds.length === 0 ? null : { secretIds: options.secretIds, selected: sources.map((source) => source.id) },
|
||||
plan: {
|
||||
secretCount: plan.length,
|
||||
items: plan.slice(0, 8).map((item) => ({
|
||||
id: item.id,
|
||||
namespace: item.namespace,
|
||||
secret: item.secret,
|
||||
key: item.key,
|
||||
present: item.present,
|
||||
fingerprint: item.fingerprint,
|
||||
valueBytes: item.valueBytes,
|
||||
valuesPrinted: false,
|
||||
})),
|
||||
omittedCount: Math.max(0, plan.length - 8),
|
||||
items: plan,
|
||||
omittedCount: 0,
|
||||
valuesPrinted: false,
|
||||
},
|
||||
activationPreflight,
|
||||
|
||||
Reference in New Issue
Block a user