Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
HAWKULAR-466 : Adapt JVM alerts to new Alerts controller
Browse files Browse the repository at this point in the history
  • Loading branch information
ammendonca committed Aug 25, 2015
1 parent 3f07fa1 commit bb9d709
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,12 @@ module HawkularMetrics {
this.$q.all([heapTriggerPromise, nonHeapTriggerPromise, garbageTriggerPromise]).then( () => {
var modalInstance = this.$modal.open({
templateUrl: 'plugins/metrics/html/modals/alerts-jvm-setup.html',
controller: 'JvmAlertSetupController as jas'
controller: 'JvmAlertSetupController as jas',
resolve: {
resourceId: function () {
return this.resourceId;
}
}
});

modalInstance.result.then(angular.noop, function () {
Expand Down

0 comments on commit bb9d709

Please sign in to comment.