chore: remove dbport from command flag

This commit is contained in:
Jonas Kaninda
2024-08-30 21:23:02 +02:00
parent cfe9f7bb59
commit f74ecfa87d
4 changed files with 0 additions and 5 deletions

View File

@@ -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