perf: 邮件模版安全优化

This commit is contained in:
xiaojunnuo
2025-12-05 00:45:56 +08:00
parent 43513049be
commit adca151e4f
2 changed files with 15 additions and 6 deletions
@@ -168,6 +168,7 @@ export class K8sClient {
const oldIngress = await client.readNamespacedIngress(ingressName, namespace);
const newIngress = merge(oldIngress.body, opts.body);
const res = await client.replaceNamespacedIngress(ingressName, namespace, newIngress);
this.logger.info("ingress patched", opts.body);
return res;
}