瀏覽代碼

AMBARI-11661. EC2: external host names in "Select Configuration Group Hosts" and in Heapmaps (alexantonenko)

Alex Antonenko 10 年之前
父節點
當前提交
f37920be1f

+ 1 - 1
ambari-web/app/templates/common/configs/overrideWindow.hbs

@@ -108,7 +108,7 @@
                 {{view Ember.Checkbox checkedBinding="entry.selected"}}
                 {{view Ember.Checkbox checkedBinding="entry.selected"}}
               </td>
               </td>
               <td width="45%">
               <td width="45%">
-                {{entry.host.publicHostName}}
+                {{entry.host.hostName}}
               </td>
               </td>
               <td>
               <td>
                 {{entry.filterColumnValue}}
                 {{entry.filterColumnValue}}

+ 1 - 1
ambari-web/app/templates/main/charts/heatmap/heatmap_host_detail.hbs

@@ -16,7 +16,7 @@
 * limitations under the License.
 * limitations under the License.
 }}
 }}
 
 
-<b>{{view.details.publicHostName}}</b><br/>
+<b>{{view.details.hostName}}</b><br/>
 {{t common.os}}: {{view.details.osType}}<br/>
 {{t common.os}}: {{view.details.osType}}<br/>
 {{t common.ipAddress}}: {{view.details.ip}}<br/>
 {{t common.ipAddress}}: {{view.details.ip}}<br/>
 {{t common.rack}}: {{view.details.rack}}<br/>
 {{t common.rack}}: {{view.details.rack}}<br/>