Skip to content

Commit 8319ee5

Browse files
authored
Apply suggestion from @cquirosj
1 parent 6f058c6 commit 8319ee5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/ServiceControl/MessageFailures/Api/EditFailedMessagesController.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,7 @@ public async Task<IActionResult> Edit(string failedMessageId, [FromBody] EditMes
4141
if (editId != null)
4242
{
4343
logger.LogWarning("Cannot edit message {FailedMessageId} because it has already been edited", failedMessageId);
44-
// We return HTTP 200 even though the edit is being ignored. This is to keep the compatibility with older versions of ServicePulse.
45-
// Newer ServicePulse versions (starting with x.x) will handle the response's payload accordingly.
44+
// We return HTTP 200 even though the edit is being ignored. This is to keep the compatibility with older versions of ServicePulse that don't handle the payload.
4645
return Ok(new { EditIgnored = true });
4746
}
4847

0 commit comments

Comments
 (0)