Skip to content

Commit

Permalink
Remove the if condition in oboconfig for integ testing
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Liang <[email protected]>
  • Loading branch information
RyanL1997 committed Aug 22, 2023
1 parent 034aa34 commit 6f49801
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,7 @@ public OnBehalfOfConfig encryptionKey(String encryption_key) {
@Override
public XContentBuilder toXContent(XContentBuilder xContentBuilder, ToXContent.Params params) throws IOException {
xContentBuilder.startObject();
if (oboEnabled) {
xContentBuilder.field("enabled", oboEnabled);
}
xContentBuilder.field("enabled", oboEnabled);
xContentBuilder.field("signing_key", signing_key);
if (StringUtils.isNoneBlank(encryption_key)) {
xContentBuilder.field("encryption_key", encryption_key);
Expand Down

0 comments on commit 6f49801

Please sign in to comment.