Skip to content

Commit

Permalink
fix: Use correct param name for --no-sentry (not --disable-sentry) (
Browse files Browse the repository at this point in the history
#155)

Co-authored-by: Kemal Hadimli <[email protected]>
  • Loading branch information
disq and disq authored Dec 6, 2023
1 parent 586dc32 commit 363299b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/src/main/java/io/cloudquery/server/ServeCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public class ServeCommand implements Callable<Integer> {
"the network must be \"tcp\", \"tcp4\", \"tcp6\", \"unix\" or \"unixpacket\" (default \"${DEFAULT-VALUE}\")")
private String network = "tcp";

@Option(names = "--disable-sentry", description = "disable sentry")
@Option(names = "--no-sentry", description = "disable sentry")
private Boolean disableSentry = false;

@Option(names = "--otel-endpoint", description = "Open Telemetry HTTP collector endpoint")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public void simpleOverrideCommandLineArguments() {
"serve",
"--address",
"foo.bar.com:7777",
"--disable-sentry",
"--no-sentry",
"--otel-endpoint",
"some-endpoint"
};
Expand Down

0 comments on commit 363299b

Please sign in to comment.