ソースを参照

AMBARI-5276 BG operations popup: Restart operation for host component should not have hostname (ababiichuk)

aBabiichuk 11 年 前
コミット
8ad29b5aeb

+ 1 - 1
ambari-web/app/controllers/main/host/details.js

@@ -372,7 +372,7 @@ App.MainHostDetailsController = Em.Controller.extend({
     var self = this;
     var component = event.context;
     App.showConfirmationPopup(function(){
-      batchUtils.restartHostComponents([component], Em.I18n.t('rollingrestart.context.selectedComponentOnSelectedHost').format(component.get('displayName'), self.get('content.hostName')));
+      batchUtils.restartHostComponents([component], Em.I18n.t('rollingrestart.context.selectedComponentOnSelectedHost').format(component.get('displayName')));
     });
   },
   /**

+ 1 - 1
ambari-web/app/messages.js

@@ -1948,7 +1948,7 @@ Em.I18n.translations = {
   'rollingrestart.context.allClientsOnSelectedHost':'Restart all clients on {0}',
   'rollingrestart.context.allWithStaleConfigsOnSelectedHost':'Restart components with Stale Configs on {0}',
   'rollingrestart.context.allOnSelectedHost':'Restart all components on {0}',
-  'rollingrestart.context.selectedComponentOnSelectedHost':'Restart {0} on {1}',
+  'rollingrestart.context.selectedComponentOnSelectedHost':'Restart {0}',
   'rollingrestart.context.default':'Restart components',
 
   'rolling.command.context': 'Rolling set {0} to state "{1}" - batch {2} of {3}',