From c75f1b77a5116eb71cb9c0957f98c1d471cbfbd4 Mon Sep 17 00:00:00 2001 From: Milan Zazrivec Date: Wed, 13 Jun 2018 14:45:18 +0200 Subject: [PATCH] Add display name for flavor --- app/models/manageiq/providers/amazon/cloud_manager/flavor.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/models/manageiq/providers/amazon/cloud_manager/flavor.rb b/app/models/manageiq/providers/amazon/cloud_manager/flavor.rb index 932bb2ac3..0a3687671 100644 --- a/app/models/manageiq/providers/amazon/cloud_manager/flavor.rb +++ b/app/models/manageiq/providers/amazon/cloud_manager/flavor.rb @@ -9,4 +9,8 @@ def supports_instance_store? def supports_ebs? block_storage_based_only? end + + def self.display_name(number = 1) + n_('Flavor (Amazon)', 'Flavors (Amazon)', number) + end end