Skip to content

Commit

Permalink
Merge pull request #2818 from skateman/container-host-vm
Browse files Browse the repository at this point in the history
Do not display Hosts/VMs on the container topology screen
  • Loading branch information
mzazrivec authored Nov 27, 2017
2 parents 5f80d1d + 4c7389d commit 4276581
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion app/services/container_topology_service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class ContainerTopologyService < TopologyService
]
]

@kinds = %i(ContainerReplicator ContainerGroup Container ContainerNode ContainerService Host Vm ContainerRoute ContainerManager)
@kinds = %i(ContainerReplicator ContainerGroup Container ContainerNode ContainerService ContainerRoute ContainerManager)

def entity_display_type(entity)
if entity.kind_of?(ManageIQ::Providers::ContainerManager)
Expand Down
8 changes: 0 additions & 8 deletions app/views/container_topology/show.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,6 @@
%label
%i.pficon.pficon-container-node
= _("Nodes")
%kubernetes-topology-icon{tooltip_options, :kind => "Vm"}
%label
%i.pficon.pficon-virtual-machine
= _("VMs")
%kubernetes-topology-icon{tooltip_options, :kind => "Host"}
%label
%i.pficon.pficon-screen
= _("Hosts")

.alert.alert-info.alert-dismissable
%button.close{"aria-hidden" => "true", "data-dismiss" => "alert", :type => "button"}
Expand Down

0 comments on commit 4276581

Please sign in to comment.