mirror of
https://github.com/ZwareBear/awx.git
synced 2026-04-27 18:31:47 -05:00
don't try to use stats events for adhoc commands
This commit is contained in:
@@ -95,7 +95,7 @@ function init () {
|
||||
}
|
||||
});
|
||||
|
||||
$scope.$on(resource.ws.events, handleSocketEvent);
|
||||
$scope.$on(resource.ws.events, handleJobEvent);
|
||||
$scope.$on(resource.ws.status, handleStatusEvent);
|
||||
|
||||
if (!status.isRunning()) {
|
||||
@@ -107,7 +107,7 @@ function handleStatusEvent (scope, data) {
|
||||
status.pushStatusEvent(data);
|
||||
}
|
||||
|
||||
function handleSocketEvent (scope, data) {
|
||||
function handleJobEvent (scope, data) {
|
||||
engine.pushJobEvent(data);
|
||||
|
||||
status.pushJobEvent(data);
|
||||
|
||||
Reference in New Issue
Block a user