galaxyproject / cloudlaunch-ui

A user interface for the cloudlaunch app
MIT License
8 stars 13 forks source link

Allow automatic updates to statuses #39

Closed juleengraham closed 4 years ago

juleengraham commented 4 years ago

Updates the status of an instance automatically by running the health checker

juleengraham commented 4 years ago

fixes #38

juleengraham commented 4 years ago

@nuwang I noticed that one of the reasons the status wasn't being updated was that the code was being called inside the return in the initializeHealthCheck function but it was never being reached. So I moved the actual check to before the return statement. It seems to be working fine now but do you think it will affect anywhere else in the code?

https://github.com/galaxyproject/cloudlaunch-ui/blob/master/src/app/my-appliances/components/deployments/deployment/deployment.component.ts