Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Put the correct message into the response
iay committed May 14, 2018
1 parent f0b3661 commit 522a196
Showing 1 changed file with 1 addition and 1 deletion.
@@ -99,7 +99,7 @@ public ResponseEntity<List<Validator>> getValidators() {
private Status convertStatus(final StatusMetadata stat) {
final Status s = new Status();
s.setComponentId(stat.getComponentId());
s.setMessage(s.getMessage());
s.setMessage(stat.getStatusMessage());
if (stat instanceof ErrorStatus) {
s.setStatus(StatusEnum.ERROR);
} else if (stat instanceof WarningStatus) {

0 comments on commit 522a196

Please sign in to comment.