mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 10:00:01 -03:30
fixing issue with adhoc stdout
the adhoc stdout was subscribing to job_events instead of ad_hoc_command_events
This commit is contained in:
parent
0f32faec60
commit
82d33d8686
@ -2,7 +2,6 @@ export default function($stateProvider) {
|
||||
this.$get = function() {
|
||||
return {
|
||||
addSocket: function(state){
|
||||
// var resolve = state.resolve || {};
|
||||
if(!state.resolve){
|
||||
state.resolve = {};
|
||||
}
|
||||
@ -18,7 +17,7 @@ export default function($stateProvider) {
|
||||
state.socket.groups.job_events = [$stateParams.id];
|
||||
}
|
||||
if(state.socket.groups.hasOwnProperty( "ad_hoc_command_events")){
|
||||
state.socket.groups.job_events = [$stateParams.id];
|
||||
state.socket.groups.ad_hoc_command_events = [$stateParams.id];
|
||||
}
|
||||
SocketService.subscribe(state);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user