Skip to content

Commit

Permalink
Merge pull request #2219 from subutai-io/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
Dilshat authored Jan 22, 2018
2 parents e48d154 + a5c86db commit 5d971fe
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -328,9 +328,8 @@ public boolean isUpdateInProgress()
public boolean isEnvironmentWorkflowInProgress()
{
EnvironmentManager environmentManager = ServiceLocator.lookup( EnvironmentManager.class );
HubManager hubManager = ServiceLocator.lookup( HubManager.class );

return !environmentManager.getActiveWorkflows().isEmpty() || hubManager.hasHubTasksInAction();
return !environmentManager.getActiveWorkflows().isEmpty() || !peerManager.getLocalPeer().getTasks().isEmpty();
}


Expand Down

0 comments on commit 5d971fe

Please sign in to comment.