https://bugzilla.redhat.com/show_bug.cgi?id=679269
Changed error message to indicate a build requires a provider and a provider account to
be
present
---
src/app/models/image.rb | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/app/models/image.rb b/src/app/models/image.rb
index be6bed4..9884163 100644
--- a/src/app/models/image.rb
+++ b/src/app/models/image.rb
@@ -81,7 +81,7 @@ class Image < ActiveRecord::Base
end
unless provider = Provider.find_by_target_with_account(target.id)
- raise "There is no provider for '#{target.name}' type with valid
account."
+ raise "Error: A valid provider and provider account are required to create and
build templates"
end
img = nil
--
1.7.4