Skip to content

Commit

Permalink
test: remove enforced EXHORT_DEV_MODE property
Browse files Browse the repository at this point in the history
Signed-off-by: Zvi Grinberg <zgrinber@redhat.com>
  • Loading branch information
zvigrinberg committed Nov 22, 2023
1 parent 35c3ca1 commit 727217f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/com/redhat/exhort/impl/ExhortApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ static HttpClient.Version getHttpVersion() {
}

ExhortApi(final HttpClient client) {
// temp system property - as long as prod exhort url not implemented the multi-source v4 endpoint, this property needs to be true
System.setProperty("EXHORT_DEV_MODE","true");
// // temp system property - as long as prod exhort url not implemented the multi-source v4 endpoint, this property needs to be true
// System.setProperty("EXHORT_DEV_MODE","true");
this.client = client;
this.mapper = new ObjectMapper().disable(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES);
// Take default from config.properties in case client didn't override DEV MODE
Expand Down

0 comments on commit 727217f

Please sign in to comment.