mirror of
https://github.com/jkaninda/mysql-bkup.git
synced 2025-12-06 21:49:40 +01:00
refactor: refactoring of code
This commit is contained in:
@@ -26,7 +26,7 @@ package cmd
|
||||
|
||||
import (
|
||||
"github.com/jkaninda/mysql-bkup/internal"
|
||||
"github.com/jkaninda/mysql-bkup/utils"
|
||||
"github.com/jkaninda/mysql-bkup/pkg/logger"
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
||||
@@ -37,7 +37,7 @@ var MigrateCmd = &cobra.Command{
|
||||
if len(args) == 0 {
|
||||
internal.StartMigration(cmd)
|
||||
} else {
|
||||
utils.Fatal(`"migrate" accepts no argument %q`, args)
|
||||
logger.Fatal(`"migrate" accepts no argument %q`, args)
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user