summaryrefslogtreecommitdiff
path: root/app/models/clusters/platforms
diff options
context:
space:
mode:
authorNick Thomas <nick@gitlab.com>2019-03-28 13:17:42 +0000
committerNick Thomas <nick@gitlab.com>2019-03-28 16:18:23 +0000
commit013f7cd24c4359d5d704b719d85b6df7ca1fdd55 (patch)
tree4bd076e21ec1d094fd23a506fef80350f63fd9f1 /app/models/clusters/platforms
parenta74c3e6c3b418ea585f02ba15af1c7292f895a1a (diff)
downloadgitlab-ce-013f7cd24c4359d5d704b719d85b6df7ca1fdd55.tar.gz
Inherit from ApplicationRecord instead of ActiveRecord::Base
Diffstat (limited to 'app/models/clusters/platforms')
-rw-r--r--app/models/clusters/platforms/kubernetes.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/clusters/platforms/kubernetes.rb b/app/models/clusters/platforms/kubernetes.rb
index 7786b48429c..63ef7ba6b45 100644
--- a/app/models/clusters/platforms/kubernetes.rb
+++ b/app/models/clusters/platforms/kubernetes.rb
@@ -2,7 +2,7 @@
module Clusters
module Platforms
- class Kubernetes < ActiveRecord::Base
+ class Kubernetes < ApplicationRecord
include Gitlab::Kubernetes
include ReactiveCaching
include EnumWithNil