refactor(Commands): Renamed StartBackupProc
This commit is contained in:
parent
2fb37a9953
commit
bb796d4cf2
2 changed files with 3 additions and 2 deletions
|
|
@ -12,7 +12,7 @@ import (
|
||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
|
|
||||||
func NewStartBackupProc() *cli.Command {
|
func StartBackupProc() *cli.Command {
|
||||||
logger := Logging.Logger("backup")
|
logger := Logging.Logger("backup")
|
||||||
|
|
||||||
return &cli.Command{
|
return &cli.Command{
|
||||||
|
|
|
||||||
3
main.go
3
main.go
|
|
@ -21,7 +21,8 @@ func main() {
|
||||||
},
|
},
|
||||||
Copyright: "(c) 2021-2022 netbenix",
|
Copyright: "(c) 2021-2022 netbenix",
|
||||||
Commands: []*cli.Command{
|
Commands: []*cli.Command{
|
||||||
Commands.NewStartBackupProc(),
|
Commands.StartBackupProc(),
|
||||||
|
Commands.GenerateNewConfigs(),
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Reference in a new issue