fix use of Horizon's registration service

'initActions' method has been moved
from 'horizon.framework.conf.resource-type-registry.service'
to the return object of 'getResourceType' method.
Also, args have changed.

This patch fixes it.

Change-Id: I2a10c4d5de7a34fabb7f1e1a726ebbf06e2c02f8
Closes-Bug: #1605131
This commit is contained in:
Shu Muto 2016-07-21 17:49:25 +09:00
parent 504691a732
commit 903dd35647

View File

@ -66,7 +66,7 @@
//////////
function init() {
registry.initActions(type, $scope);
ctrl.resourceType.initActions($scope);
zaqar.getQueues().then(showQueues);
}