From 676448c86b62d0d08e4dfb9de9d11ae1ab92dda7 Mon Sep 17 00:00:00 2001 From: Jerry Keselman Date: Wed, 30 Aug 2017 15:20:54 -0400 Subject: [PATCH] Remove Vm.resource_group method Previously moved method was deleted by another PR but still being added backed in here (incorrectly). Test caught the issue. --- .../providers/azure/cloud_manager/vm_or_template_shared.rb | 5 ----- 1 file changed, 5 deletions(-) diff --git a/app/models/manageiq/providers/azure/cloud_manager/vm_or_template_shared.rb b/app/models/manageiq/providers/azure/cloud_manager/vm_or_template_shared.rb index 8f10d873..bf4cefc6 100644 --- a/app/models/manageiq/providers/azure/cloud_manager/vm_or_template_shared.rb +++ b/app/models/manageiq/providers/azure/cloud_manager/vm_or_template_shared.rb @@ -6,9 +6,4 @@ def provider_service(connection = nil) connection ||= ext_management_system.connect ::Azure::Armrest::VirtualMachineService.new(connection) end - - # The resource group is stored as part of the uid_ems. This splits it out. - def resource_group - uid_ems.split('\\')[1] - end end