Skip to content

Commit

Permalink
MockMetadataServerTransport populate content on 200.
Browse files Browse the repository at this point in the history
  • Loading branch information
rmehta19 committed Oct 25, 2024
1 parent ed681f5 commit 20825f7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ public LowLevelHttpResponse execute() throws IOException {
// Create the JSON response
GenericJson content = new GenericJson();
content.setFactory(OAuth2Utils.JSON_FACTORY);
if (requestStatusCode < 400) {
if (requestStatusCode == 200) {
content.put(plaintextS2AAddressJsonKey, plaintextS2AAddress);
content.put(mtlsS2AAddressJsonKey, mtlsS2AAddress);
}
Expand Down

0 comments on commit 20825f7

Please sign in to comment.