Project

General

Profile

« Previous | Next » 

Revision 67110766

Added by Lukas Zapletal almost 6 years ago

Fixes #21007 - new unattended action 'failed'

View differences:

app/models/host/managed.rb
return unless respond_to?(:old) && old && build? && !old.build?
clear_facts
clear_reports
self.build_errors = nil
end
# Called from the host build post install process to indicate that the base build has completed
......
# Any facts are discarded
def setBuild
self.build = true
self.save
self.initiated_at = Time.now.utc
logger.warn("Set build failed: #{errors.inspect}") unless self.save
errors.empty?
end

Also available in: Unified diff