Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix spqrdump & add feature tests #526

Merged
merged 13 commits into from
Feb 28, 2024
Prev Previous commit
Next Next commit
Fix lint
  • Loading branch information
EinKrebs committed Feb 27, 2024
commit a381b6823c486eefdbbf0922fd49499ff2c9c20b
4 changes: 3 additions & 1 deletion cmd/spqrdump/main.go
Original file line number Diff line number Diff line change
@@ -256,7 +256,9 @@ var dump = &cobra.Command{
Use: "dump",
Short: "dump current sharding configuration",
RunE: func(cmd *cobra.Command, args []string) error {
spqrlog.UpdateZeroLogLevel(logLevel)
if err := spqrlog.UpdateZeroLogLevel(logLevel); err != nil {
return err
}
spqrlog.Zero.Debug().
Str("endpoint", endpoint).
Msg("dialing spqrdump on")
Loading