From c3a5ba030c3c6d76a03b12a1b511344e61c03106 Mon Sep 17 00:00:00 2001
From: Greg Blomquist <gblomqui@redhat.com>
Date: Mon, 17 Apr 2017 10:20:13 -0400
Subject: [PATCH] Make Physical Infrastructure a prototype feature

---
 app/presenters/menu/default_menu.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app/presenters/menu/default_menu.rb b/app/presenters/menu/default_menu.rb
index 1daab9bbb68..70e220aacb4 100644
--- a/app/presenters/menu/default_menu.rb
+++ b/app/presenters/menu/default_menu.rb
@@ -6,9 +6,9 @@ def compute_menu_section
         Menu::Section.new(:compute, N_("Compute"), 'pficon pficon-cpu', [
           clouds_menu_section,
           infrastructure_menu_section,
-          physical_infrastructure_menu_section,
+          ::Settings.product.physical_infrastructure ? physical_infrastructure_menu_section : nil,
           container_menu_section
-        ])
+        ].compact)
       end
 
       def configuration_menu_section