refactor(config): all uses of @default over to configuration
This commit is contained in:
parent
6f39d532ce
commit
03a4ad1c00
5 changed files with 15 additions and 14 deletions
|
|
@ -24,7 +24,7 @@ var restoreCmd = &cobra.Command{
|
|||
|
||||
func restore(cmd *cobra.Command, args []string) error {
|
||||
store := &Store{}
|
||||
dbName := "default"
|
||||
dbName := config.DefaultDB
|
||||
if len(args) == 1 {
|
||||
parsed, err := store.parseDB(args[0], false)
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue