This is an automated email from the ASF dual-hosted git repository.

asnaik pushed a commit to branch branch-2.7
in repository https://gitbox.apache.org/repos/asf/ambari.git


The following commit(s) were added to refs/heads/branch-2.7 by this push:
     new 17407c7  AMBARI-25412. Remove all tags from logger service methods in 
ambari-contrib (#3121)
17407c7 is described below

commit 17407c75163063a96a5061d5d90ff7ad57a4e727
Author: Alexander Antonenko <aantone...@hortonworks.com>
AuthorDate: Tue Nov 12 14:49:59 2019 +0200

    AMBARI-25412. Remove all tags from logger service methods in ambari-contrib 
(#3121)
---
 .../views/files/src/main/resources/ui/app/components/delete-modal.js    | 2 +-
 contrib/views/files/src/main/resources/ui/app/routes/files.js           | 2 +-
 .../views/files/src/main/resources/ui/app/services/file-operation.js    | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/contrib/views/files/src/main/resources/ui/app/components/delete-modal.js 
b/contrib/views/files/src/main/resources/ui/app/components/delete-modal.js
index 49f6e9d..1e4ef5f 100644
--- a/contrib/views/files/src/main/resources/ui/app/components/delete-modal.js
+++ b/contrib/views/files/src/main/resources/ui/app/components/delete-modal.js
@@ -80,7 +80,7 @@ export default Ember.Component.extend(OperationModal, {
           this.set('hasError', true);
           this.set('currentFailedPath', error.failed);
           this.set('currentServerFailureMessage', error.message);
-          this.set('currentFailureMessage', `Failed to delete 
<strong>${Ember.Handlebars.Utils.escapeExpression(error.failed)}</strong>.`);
+          this.set('currentFailureMessage', `Failed to delete 
${Ember.Handlebars.Utils.escapeExpression(error.failed)}.`);
           this.set('shouldRetry', error.retry);
           this.set('currentUnprocessedPaths', error.unprocessed);
         } else {
diff --git a/contrib/views/files/src/main/resources/ui/app/routes/files.js 
b/contrib/views/files/src/main/resources/ui/app/routes/files.js
index be7a515..6c7e646 100644
--- a/contrib/views/files/src/main/resources/ui/app/routes/files.js
+++ b/contrib/views/files/src/main/resources/ui/app/routes/files.js
@@ -61,7 +61,7 @@ export default Ember.Route.extend(FileOperationMixin, {
       this.get('fileSelectionService').reset();
       let path = transition.queryParams.path;
       var formattedError = this.extractError(error);
-      this.get('logger').danger(`Failed to transition to 
<strong>${path}</strong>`, formattedError);
+      this.get('logger').danger(`Failed to transition to ${path}`, 
formattedError);
       // Had to do this as we are unloading all files before transitioning
       this.transitionTo({
         queryParams: {
diff --git 
a/contrib/views/files/src/main/resources/ui/app/services/file-operation.js 
b/contrib/views/files/src/main/resources/ui/app/services/file-operation.js
index 50309a1..bc5453c 100644
--- a/contrib/views/files/src/main/resources/ui/app/services/file-operation.js
+++ b/contrib/views/files/src/main/resources/ui/app/services/file-operation.js
@@ -48,7 +48,7 @@ export default Ember.Service.extend(FileOperationMixin, {
     return new Ember.RSVP.Promise((resolve, reject) => {
       adapter.ajax(this._getFileOperationUrl('mkdir'), "PUT", {data: 
data}).then(
         (response) => {
-          this.get('logger').success(`Successfully created 
<strong>${path}/${folderName}`, {flashOnly: true});
+          this.get('logger').success(`Successfully created 
${path}/${folderName}`, {flashOnly: true});
           return resolve(response);
         }, (responseError) => {
           var error = this.extractError(responseError);

Reply via email to