Skip to content

Commit

Permalink
Merge pull request #92 from MissionCriticalCloud/fix/remove-template-…
Browse files Browse the repository at this point in the history
…failed-alert

Remove alert on download failure
  • Loading branch information
bheuvel authored Oct 6, 2016
2 parents 6f8d992 + 98ff096 commit ba5b5a4
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@ protected Void createTemplateAsyncCallback(final AsyncCallbackDispatcher<? exten
result.setResult(answer.getErrorString());
caller.complete(result);
final String msg = "Failed to register template: " + obj.getUuid() + " with error: " + answer.getErrorString();
_alertMgr.sendAlert(AlertManager.AlertType.ALERT_TYPE_UPLOAD_FAILED, _vmTemplateZoneDao.listByTemplateId(obj.getId()).get(0).getZoneId(), null, msg, msg);
s_logger.error(msg);
} else if (answer.getDownloadStatus() == VMTemplateStorageResourceAssoc.Status.DOWNLOADED) {
if (answer.getCheckSum() != null) {
Expand Down

0 comments on commit ba5b5a4

Please # to comment.