From 152675148401cc408a9136d2ec36c82d28ad84ff Mon Sep 17 00:00:00 2001 From: Andrew Richardson Date: Fri, 8 Dec 2023 10:56:54 -0500 Subject: [PATCH] Definition conflicts should be HTTP 409 Signed-off-by: Andrew Richardson --- internal/coremsgs/en_error_messages.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/coremsgs/en_error_messages.go b/internal/coremsgs/en_error_messages.go index bcd1067d6..a2a82675a 100644 --- a/internal/coremsgs/en_error_messages.go +++ b/internal/coremsgs/en_error_messages.go @@ -245,7 +245,7 @@ var ( MsgDefRejectedIDMismatch = ffe("FF10404", "Rejected %s '%s' - ID mismatch with existing record") MsgDefRejectedLocationMismatch = ffe("FF10405", "Rejected %s '%s' - location mismatch with existing record") MsgDefRejectedSchemaFail = ffe("FF10406", "Rejected %s '%s' - schema check: %s") - MsgDefRejectedConflict = ffe("FF10407", "Rejected %s '%s' - conflicts with existing: %s") + MsgDefRejectedConflict = ffe("FF10407", "Rejected %s '%s' - conflicts with existing: %s", 409) MsgDefRejectedIdentityNotFound = ffe("FF10408", "Rejected %s '%s' - identity not found: %s") MsgDefRejectedWrongAuthor = ffe("FF10409", "Rejected %s '%s' - wrong author: %s") MsgDefRejectedHashMismatch = ffe("FF10410", "Rejected %s '%s' - hash mismatch: %s != %s")