Project

General

Profile

« Previous | Next » 

Revision bde92a1e

Added by Timo Goebel almost 6 years ago

fixes #22467 - dashboard: list hosts in build mode

View differences:

app/models/host/managed.rb
scope :with_compute_resource, -> { where.not(:compute_resource_id => nil, :uuid => nil) }
scope :in_build_mode, -> { where(build: true) }
scope :with_build_errors, -> { where.not(build_errors: nil) }
# some shortcuts
alias_attribute :arch, :architecture

Also available in: Unified diff