update for listing replication-job.

This commit is contained in:
kunw 2016-06-17 12:14:41 +08:00
parent 1ac534f333
commit bd88f01afe

View File

@ -14,7 +14,6 @@
$scope.$on('$locationChangeSuccess', function() {
vm.projectId = getParameterByName('project_id', $location.absUrl());
vm.retrievePolicy();
vm.retrieveJob();
});
vm.addReplication = addReplication;
@ -57,6 +56,7 @@
}
function listReplicationPolicySuccess(data, status) {
vm.replicationJobs = [];
vm.replicationPolicies = data || [];
}