Skip to content

Commit

Permalink
Add retired to service active states
Browse files Browse the repository at this point in the history
  • Loading branch information
d-m-u committed Jan 11, 2019
1 parent b988aea commit a6cc73c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/models/service_retire_request.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
class ServiceRetireRequest < MiqRetireRequest
TASK_DESCRIPTION = 'Service Retire'.freeze
SOURCE_CLASS_NAME = 'Service'.freeze
ACTIVE_STATES = %w(retired) + base_class::ACTIVE_STATES

delegate :service_template, :to => :source, :allow_nil => true
end

0 comments on commit a6cc73c

Please sign in to comment.