parent
5f178db49b
commit
e4057dd528
|
|
@ -22,7 +22,7 @@ public class SampleApplication {
|
|||
|
||||
public static void main(String[] args) {
|
||||
if (args.length < 2) {
|
||||
throw new IllegalArgumentException("Missing arguments " + Arrays.toString(args) + "");
|
||||
throw new IllegalArgumentException("Missing arguments " + Arrays.toString(args));
|
||||
}
|
||||
if (!args[0].startsWith("--management.endpoints.web.exposure.include=")) {
|
||||
throw new IllegalArgumentException("Invalid argument " + args[0]);
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ public class SampleApplication {
|
|||
|
||||
public static void main(String[] args) {
|
||||
if (args.length < 2) {
|
||||
throw new IllegalArgumentException("Missing arguments " + Arrays.toString(args) + "");
|
||||
throw new IllegalArgumentException("Missing arguments " + Arrays.toString(args));
|
||||
}
|
||||
if (!args[0].startsWith("--management.endpoints.web.exposure.include=")) {
|
||||
throw new IllegalArgumentException("Invalid argument " + args[0]);
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ public class SampleApplication {
|
|||
|
||||
public static void main(String[] args) {
|
||||
if (args.length < 1) {
|
||||
throw new IllegalArgumentException("Missing active profile argument " + Arrays.toString(args) + "");
|
||||
throw new IllegalArgumentException("Missing active profile argument " + Arrays.toString(args));
|
||||
}
|
||||
String argument = args[0];
|
||||
if (!argument.startsWith("--spring.profiles.active=")) {
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ public class SampleApplication {
|
|||
|
||||
public static void main(String[] args) {
|
||||
if (args.length < 1) {
|
||||
throw new IllegalArgumentException("Missing active profile argument " + Arrays.toString(args) + "");
|
||||
throw new IllegalArgumentException("Missing active profile argument " + Arrays.toString(args));
|
||||
}
|
||||
String argument = args[0];
|
||||
if (!argument.startsWith("--spring.profiles.active=")) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue