Skip to content

Commit 363299b

Browse files
authored
fix: Use correct param name for --no-sentry (not --disable-sentry) (#155)
Co-authored-by: Kemal Hadimli <[email protected]>
1 parent 586dc32 commit 363299b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: lib/src/main/java/io/cloudquery/server/ServeCommand.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public class ServeCommand implements Callable<Integer> {
5555
"the network must be \"tcp\", \"tcp4\", \"tcp6\", \"unix\" or \"unixpacket\" (default \"${DEFAULT-VALUE}\")")
5656
private String network = "tcp";
5757

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

6161
@Option(names = "--otel-endpoint", description = "Open Telemetry HTTP collector endpoint")

Diff for: lib/src/test/java/io/cloudquery/server/PluginServeTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public void simpleOverrideCommandLineArguments() {
3939
"serve",
4040
"--address",
4141
"foo.bar.com:7777",
42-
"--disable-sentry",
42+
"--no-sentry",
4343
"--otel-endpoint",
4444
"some-endpoint"
4545
};

0 commit comments

Comments
 (0)