From ecbc1d152fd498e349a6a09ca93b10655597881a Mon Sep 17 00:00:00 2001 From: Adam Grare Date: Mon, 6 Jul 2020 12:06:46 -0400 Subject: [PATCH] Move supports :create out of base Flavor model Currently the supports :create/:delete features are enabled at the base Flavor model, however only Openstack implements these operations --- app/models/flavor.rb | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/models/flavor.rb b/app/models/flavor.rb index 38ad5273e23..1fb3e28e8fe 100644 --- a/app/models/flavor.rb +++ b/app/models/flavor.rb @@ -3,9 +3,6 @@ class Flavor < ApplicationRecord include CloudTenancyMixin include SupportsFeatureMixin - supports :create - supports :delete - acts_as_miq_taggable belongs_to :ext_management_system, :foreign_key => :ems_id, :class_name => "ManageIQ::Providers::CloudManager"