This is an automated email from the ASF dual-hosted git repository. wuzhiguo pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/ambari.git
The following commit(s) were added to refs/heads/trunk by this push: new dcd9b12a0a AMBARI-25412: Remove all tags from logger service methods in ambari-contrib (#3505) dcd9b12a0a is described below commit dcd9b12a0a590d675a6716ce33ad7a2a5ad3b76d Author: Zhiguo Wu <wuzhi...@apache.org> AuthorDate: Tue Nov 15 16:08:12 2022 +0800 AMBARI-25412: Remove all tags from logger service methods in ambari-contrib (#3505) --- .../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 49f6e9dd25..1e4ef5fc12 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 be7a515f3e..6c7e6467f8 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 50309a1850..bc5453ca31 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); --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@ambari.apache.org For additional commands, e-mail: commits-h...@ambari.apache.org