Revision 3b828aad
Added by Ohad Levy almost 14 years ago
- ID 3b828aadcc917292d306eef60c2e46365442ff8f
app/controllers/unattended_controller.rb | ||
---|---|---|
logger.info "#{controller_name}: unable to find ip/mac match for #{ip}"
|
||
head(:not_found) and return
|
||
end
|
||
if @host.operatingsystem.class == Operatingsystem
|
||
if @host.operatingsystem.type.nil?
|
||
# Then, for some reason, the OS has not been specialized into a Redhat or Debian class
|
||
logger.error "#{controller_name}: #{@host.name}'s operatingsytem [#{@host.operatingsystem.fullname}] has no OS family!"
|
||
head(:conflict) and return
|
Also available in: Unified diff
fixes #345 - unable to save associated operatingsystems