Commit d72d3842 authored by Ioannis Tsafaras's avatar Ioannis Tsafaras
Browse files

Hide Lambda Instances with any failed status

parent acca28af
......@@ -29,7 +29,7 @@ export default Ember.Route.extend(AuthenticatedRouteMixin, {
if (!_this.controllerFor('lambda-instances.index').get('showFailed')) {
hash.instances.forEach(function (instance) {
let status_code = instance.get('status_code');
if (status_code === 9) {
if (status_code >= 9 && status_code <=23 && (status_code % 2) === 1) {
instance.unloadRecord();
}
});
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment