فهرست منبع

AMBARI-15416. Grafana password is required field after upgrade from 2.2.0 to 2.2.2. Fix for install issue. (swagle)

Siddharth Wagle 9 سال پیش
والد
کامیت
96d76f5c26
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      ambari-server/src/main/resources/stacks/HDP/2.0.6/services/stack_advisor.py

+ 1 - 1
ambari-server/src/main/resources/stacks/HDP/2.0.6/services/stack_advisor.py

@@ -674,7 +674,7 @@ class HDP206StackAdvisor(DefaultStackAdvisor):
     putAmsSiteProperty("timeline.metrics.cluster.aggregate.splitpoints", ','.join(aggregate_splits))
 
     component_grafana_exists = False
-    for service in services:
+    for service in services['services']:
       if 'components' in service:
         for component in service['components']:
           if 'StackServiceComponents' in component: