From 60a3ea0cea7c399e1cebe74b5f33c2783d96f13a Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Wed, 10 Sep 2025 17:45:52 +0200 Subject: [PATCH] docker registry: fix typo in eventlog --- src/dockerregistries.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dockerregistries.js b/src/dockerregistries.js index 6f805bd6a..201e17e93 100644 --- a/src/dockerregistries.js +++ b/src/dockerregistries.js @@ -109,7 +109,7 @@ async function update(oldConfig, newConfig, auditSource) { const result = await database.query('UPDATE dockerRegistries SET ' + fields.join(', ') + ' WHERE id=?', args); if (result.affectedRows === 0) throw new BoxError(BoxError.NOT_FOUND, 'Registry not found'); - await eventlog.add(eventlog.ACTION_REGISTRY_DEL, auditSource, { oldRegistry: removePrivateFields(oldConfig), newRegistry: removePrivateFields(newConfig) }); + await eventlog.add(eventlog.ACTION_REGISTRY_UPDATE, auditSource, { oldRegistry: removePrivateFields(oldConfig), newRegistry: removePrivateFields(newConfig) }); } async function del(registry, auditSource) {