Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/backup/terraform_state.rb')
-rw-r--r--lib/backup/terraform_state.rb7
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/backup/terraform_state.rb b/lib/backup/terraform_state.rb
index be82793fe03..05f61d248be 100644
--- a/lib/backup/terraform_state.rb
+++ b/lib/backup/terraform_state.rb
@@ -2,14 +2,11 @@
module Backup
class TerraformState < Backup::Files
- attr_reader :progress
-
def initialize(progress)
- @progress = progress
-
- super('terraform_state', Settings.terraform_state.storage_path, excludes: ['tmp'])
+ super(progress, 'terraform_state', Settings.terraform_state.storage_path, excludes: ['tmp'])
end
+ override :human_name
def human_name
_('terraform states')
end