- adding decode flag to server view command - more idiomatic naming for db funcs
This commit is contained in:
@@ -20,7 +20,7 @@ var viewCmd = &cobra.Command{
|
||||
cobra.CheckErr(err)
|
||||
defer db.Close()
|
||||
|
||||
ts, err := db.GetAllCmds()
|
||||
ts, err := db.AllCmds()
|
||||
if err != nil {
|
||||
if err.Error() == ErrInit {
|
||||
fmt.Println(ErrInitRsp)
|
||||
|
||||
Reference in New Issue
Block a user