diff --git a/app/models/service.rb b/app/models/service.rb index 4fc349f8b717..cff5e2f41736 100644 --- a/app/models/service.rb +++ b/app/models/service.rb @@ -63,6 +63,7 @@ class Service < ApplicationRecord include CiFeatureMixin include CustomActionsMixin include CustomAttributeMixin + include DeprecationMixin include ExternalUrlMixin include LifecycleMixin include Metric::CiMixin @@ -107,6 +108,7 @@ class Service < ApplicationRecord alias parent_service parent alias_attribute :service, :parent virtual_belongs_to :service + deprecate_attribute :display, :visible def power_states vms.map(&:power_state)