chore: remove dbport from command flag
This commit is contained in:
@@ -19,8 +19,6 @@ import (
|
||||
func StartBackup(cmd *cobra.Command) {
|
||||
//Set env
|
||||
utils.SetEnv("STORAGE_PATH", storagePath)
|
||||
//utils.GetEnv(cmd, "dbname", "DB_NAME")
|
||||
//utils.GetEnv(cmd, "port", "DB_PORT")
|
||||
utils.GetEnv(cmd, "period", "BACKUP_CRON_EXPRESSION")
|
||||
|
||||
//Get flag value and set env
|
||||
|
||||
Reference in New Issue
Block a user