diff options
Diffstat (limited to 'app/validators')
-rw-r--r-- | app/validators/cron_validator.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/validators/cron_validator.rb b/app/validators/cron_validator.rb index 4d9a0d62a4c..31eaa4147a5 100644 --- a/app/validators/cron_validator.rb +++ b/app/validators/cron_validator.rb @@ -3,7 +3,7 @@ # Custom validator for Cron. class CronValidator < ActiveModel::EachValidator def validate_each(record, attribute, value) - cron_parser = Ci::CronParser.new(record.cron, record.cron_time_zone) + cron_parser = Gitlab::Ci::CronParser.new(record.cron, record.cron_time_zone) is_valid_cron, is_valid_cron_time_zone = cron_parser.validation if !is_valid_cron |