Skip to content

Commit

Permalink
Merge pull request #5948 from d-m-u/fixing_ems_network_endpoint
Browse files Browse the repository at this point in the history
The dialog ems_network endpoint is wrong

(cherry picked from commit 4f7ee67)

https://bugzilla.redhat.com/show_bug.cgi?id=1732436
  • Loading branch information
mzazrivec authored and simaishi committed Aug 8, 2019
1 parent 9e6abd0 commit 3a7229a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/services/dialog_local_service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def determine_api_endpoints(obj, display_options = {})
when "CloudManager"
"/ems_cloud"
when "NetworkManager"
"/ems_networks"
"/ems_network"
when "CinderManager"
"/ems_block_storage"
when "SwiftManager"
Expand Down
2 changes: 1 addition & 1 deletion spec/services/dialog_local_service_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
let(:obj) { double(:class => ManageIQ::Providers::Amazon::NetworkManager, :id => 123) }

include_examples "DialogLocalService#determine_dialog_locals_for_custom_button return value",
"ext_management_system", "ExtManagementSystem", "providers", "/ems_networks"
"ext_management_system", "ExtManagementSystem", "providers", "/ems_network"
end

context "when the object is a private CloudNetwork" do
Expand Down

0 comments on commit 3a7229a

Please sign in to comment.