Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not default app state to running #733

Merged
merged 2 commits into from Apr 7, 2016

Conversation

philipnrmn
Copy link
Contributor

if (app.deployments.length > 0) {
app.status = AppStatus.DEPLOYING;
} else if (app.instances === 0 && app.tasksRunning === 0) {
app.status = AppStatus.SUSPENDED;
} else if (app.tasksRunning > 0) {
app.status = AppStatus.RUNNING;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After releasing 1.0.1 we need to port this fix on master in https://github.com/mesosphere/marathon-ui/blob/master/src/js/stores/AppsStore.js#L131

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll create a PR already

@pierluigi
Copy link
Contributor

Thanks for the nifty fix! Tested and works. Can you please also add a CHANGELOG entry?

@philipnrmn
Copy link
Contributor Author

Sure, thanks for the reminder.

@pierluigi pierluigi merged commit ebf5c01 into release/1.0.1 Apr 7, 2016
@pierluigi pierluigi deleted the fix/3092-delayed-applications branch April 7, 2016 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants