chore: remove dbport from command flag

This commit is contained in:
Jonas Kaninda
2024-08-30 21:21:21 +02:00
parent 662b73579d
commit a2cec86e73
4 changed files with 0 additions and 54 deletions

View File

@@ -20,8 +20,6 @@ func StartBackup(cmd *cobra.Command) {
_, _ = cmd.Flags().GetString("operation")
//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