diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-07-01 03:09:48 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-07-01 03:09:48 +0300 |
commit | 516b939c44ec77bb773f08df15079c80fb4d10d2 (patch) | |
tree | 7fa7670a0cd811df23d8a6b07e6473fa540ebe0f /lib/gitlab/ci/runner_upgrade_check.rb | |
parent | 9877050db1dd1693c672a6b29a356c5b2a7edce0 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/ci/runner_upgrade_check.rb')
-rw-r--r-- | lib/gitlab/ci/runner_upgrade_check.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/gitlab/ci/runner_upgrade_check.rb b/lib/gitlab/ci/runner_upgrade_check.rb index ad0fd73e9da..4ca99e4d175 100644 --- a/lib/gitlab/ci/runner_upgrade_check.rb +++ b/lib/gitlab/ci/runner_upgrade_check.rb @@ -5,13 +5,6 @@ module Gitlab class RunnerUpgradeCheck include Singleton - STATUSES = { - invalid: 'Runner version is not valid.', - not_available: 'Upgrade is not available for the runner.', - available: 'Upgrade is available for the runner.', - recommended: 'Upgrade is available and recommended for the runner.' - }.freeze - def check_runner_upgrade_status(runner_version) runner_version = ::Gitlab::VersionInfo.parse(runner_version, parse_suffix: true) |