summaryrefslogtreecommitdiff
path: root/lib/backup/registry.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/backup/registry.rb')
-rw-r--r--lib/backup/registry.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/backup/registry.rb b/lib/backup/registry.rb
index 9645a07dfb8..7ba3a9e9c60 100644
--- a/lib/backup/registry.rb
+++ b/lib/backup/registry.rb
@@ -9,5 +9,13 @@ module Backup
super('registry', Settings.registry.path)
end
+
+ def human_name
+ _('container registry images')
+ end
+
+ def enabled
+ Gitlab.config.registry.enabled
+ end
end
end