Skip to content

Commit c92ad58

Browse files
committed
Remove duplicate populateHeaders
Signed-off-by: Craig Perkins <cwperx@amazon.com>
1 parent d66cbc6 commit c92ad58

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/main/java/org/opensearch/security/filter/SecurityResponse.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ public class SecurityResponse {
3636

3737
public SecurityResponse(final int status, final Exception e) {
3838
this.status = status;
39-
populateHeaders(CONTENT_TYPE_APP_JSON);
4039
this.body = generateFailureMessage(e);
4140
this.contentType = XContentType.JSON.mediaType();
4241
}

0 commit comments

Comments
 (0)