Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Commit

Permalink
CHANGED: silenced loading of profile, seems to be doing nothing
Browse files Browse the repository at this point in the history
  • Loading branch information
AleixMT committed Jan 17, 2024
1 parent 47ad355 commit 1fb0ba6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ public class GatewayAndFiltersApplication {

public static void main(String[] args) {
// Retrieve execution profile from environment variable. Otherwise, default profile is used.
String profile = System.getenv("PROFILE");
System.setProperty("spring.profiles.active", profile != null ? profile : "default");
// String profile = System.getenv("PROFILE");
// System.setProperty("spring.profiles.active", profile != null ? profile : "default");
SpringApplication.run(GatewayAndFiltersApplication.class, args);
}

Expand Down

0 comments on commit 1fb0ba6

Please sign in to comment.