diff --git a/config/config.go b/config/config.go index 1e27194..63952db 100644 --- a/config/config.go +++ b/config/config.go @@ -19,10 +19,10 @@ type Config struct { } type ValidateConfig struct { - OwnerRegexp string `json:"account_name_regexp" required:"true"` - RepoNameRegexp string `json:"repo_name_regexp" required:"true"` - UsernameRegexp string `json:"username_regexp" required:"true"` - PasswordRegexp string `json:"password_regexp" required:"true"` + OwnerRegexp string `json:"OWNER_REGEXP" required:"true"` + RepoNameRegexp string `json:"REPONAME_REGEXP" required:"true"` + UsernameRegexp string `json:"USERNAME_REGEXP" required:"true"` + PasswordRegexp string `json:"PASSWORD_REGEXP" required:"true"` } // LoadConfig loads the configuration file from the specified path and deletes the file if needed