diff options
author | Maxim Rydkin <maks.rydkin@gmail.com> | 2017-08-24 20:01:22 +0300 |
---|---|---|
committer | Maxim Rydkin <maks.rydkin@gmail.com> | 2017-08-29 11:14:42 +0300 |
commit | 78c5d4ddc2af74f352d4871689c7b8451b612b13 (patch) | |
tree | 42889185840ff622b550b8fdf62f11cfd458f230 /lib/system_check | |
parent | 6a56bec735c7434c85e3b8776b8413d3bdcb93ec (diff) | |
download | gitlab-ce-78c5d4ddc2af74f352d4871689c7b8451b612b13.tar.gz |
replace `is_multi_check?` with `multi_check?`
Diffstat (limited to 'lib/system_check')
-rw-r--r-- | lib/system_check/base_check.rb | 2 | ||||
-rw-r--r-- | lib/system_check/simple_executor.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/system_check/base_check.rb b/lib/system_check/base_check.rb index 5dcb3f0886b..7f9e2ffffc2 100644 --- a/lib/system_check/base_check.rb +++ b/lib/system_check/base_check.rb @@ -73,7 +73,7 @@ module SystemCheck self.class.instance_methods(false).include?(:skip?) end - def is_multi_check? + def multi_check? self.class.instance_methods(false).include?(:multi_check) end diff --git a/lib/system_check/simple_executor.rb b/lib/system_check/simple_executor.rb index e5986612908..6604b1078cf 100644 --- a/lib/system_check/simple_executor.rb +++ b/lib/system_check/simple_executor.rb @@ -53,7 +53,7 @@ module SystemCheck end # When implements a multi check, we don't control the output - if check.is_multi_check? + if check.multi_check? check.multi_check return end |