Skip to content

Commit b72b592

Browse files
committed
refactor: remove *Main argument from newGetCommand for consistency
Signed-off-by: Lavish Pal <[email protected]>
1 parent d99e303 commit b72b592

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cmd/bbolt/command_get.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
bolt "go.etcd.io/bbolt"
1010
)
1111

12-
func newGetCommand(m *Main) *cobra.Command {
12+
func newGetCommand() *cobra.Command {
1313
var parseFormat, format string
1414

1515
cmd := &cobra.Command{

cmd/bbolt/command_root.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ func NewRootCommand() *cobra.Command {
2222
newInspectCommand(),
2323
newCheckCommand(),
2424
newBucketsCommand(),
25-
newGetCommand(nil), // TODO: Replace nil with an actual *Main instance if available
25+
newGetCommand(),
2626
)
2727

2828
return rootCmd

0 commit comments

Comments
 (0)