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 'app/models/integrations/base_monitoring.rb')
-rw-r--r--app/models/integrations/base_monitoring.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/integrations/base_monitoring.rb b/app/models/integrations/base_monitoring.rb
index 280eeda7c6c..b0bebb5a859 100644
--- a/app/models/integrations/base_monitoring.rb
+++ b/app/models/integrations/base_monitoring.rb
@@ -6,7 +6,7 @@
# to provide additional features for environments.
module Integrations
class BaseMonitoring < Integration
- default_value_for :category, 'monitoring'
+ attribute :category, default: 'monitoring'
def self.supported_events
%w()