# File lib/aeolus_image/model/factory/builder.rb, line 39 def failed_push_count(target_image_id, provider, account) builders.count {|b| b.status == 'FAILED' && b.operation == 'push' && b.target_image_id == target_image_id && b.provider == provider && b.provider_account_identifier == account} end