Code Review
/
ric-plt
/
sdlgo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Bump Redis client version to v8.11.4
[ric-plt/sdlgo.git]
/
internal
/
cli
/
statistics.go
diff --git
a/internal/cli/statistics.go
b/internal/cli/statistics.go
index
05608e2
..
b247fc2
100644
(file)
--- a/
internal/cli/statistics.go
+++ b/
internal/cli/statistics.go
@@
-43,7
+43,7
@@
var (
)
func newStatisticsCmd(dbCreateCb DbCreateCb) *cobra.Command {
)
func newStatisticsCmd(dbCreateCb DbCreateCb) *cobra.Command {
-
return
&cobra.Command{
+
cmd :=
&cobra.Command{
Use: "statistics",
Short: "Display statistics.",
Long: statsLong,
Use: "statistics",
Short: "Display statistics.",
Long: statsLong,
@@
-59,6
+59,8
@@
func newStatisticsCmd(dbCreateCb DbCreateCb) *cobra.Command {
return nil
},
}
return nil
},
}
+ cmd.SetOut(os.Stdout)
+ return cmd
}
func runStats(dbCreateCb DbCreateCb) ([]*sdlgoredis.DbStatistics, error) {
}
func runStats(dbCreateCb DbCreateCb) ([]*sdlgoredis.DbStatistics, error) {