On 10/08/10 - 12:09:09PM, Jason Guiditta wrote: > This will keep Instances from dropping out of the 'in process' > list because agent returns 'created' rather than 'waiting'. > --- > src/app/models/image.rb | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/src/app/models/image.rb b/src/app/models/image.rb > index b1fa6d7..7bc5076 100644 > --- a/src/app/models/image.rb > +++ b/src/app/models/image.rb > @@ -40,13 +40,13 @@ class Image < ActiveRecord::Base > SEARCHABLE_COLUMNS = %w(name) > > STATE_QUEUED = 'queued' > - STATE_WAITING = 'waiting' > + STATE_CREATED = 'created' > STATE_BUILDING = 'building' > STATE_COMPLETE = 'complete' > STATE_CANCELED = 'canceled' > STATE_FAILED = 'failed' > > - ACTIVE_STATES = [ STATE_QUEUED, STATE_WAITING, STATE_BUILDING, > STATE_FAILED ] > + ACTIVE_STATES = [ STATE_QUEUED, STATE_CREATED, STATE_BUILDING ]
We need to keep "STATE_FAILED" in here; otherwise, failed builds do not show up in the UI. Otherwise this is fine. -- Chris Lalancette _______________________________________________ deltacloud-devel mailing list [email protected] https://fedorahosted.org/mailman/listinfo/deltacloud-devel
