[email protected] wrote:
> From: Tomas Sedovic <[email protected]>
>
> ---
>  src/app/models/image.rb |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/src/app/models/image.rb b/src/app/models/image.rb
> index 3936bd6..6670149 100644
> --- a/src/app/models/image.rb
> +++ b/src/app/models/image.rb
> @@ -40,6 +40,7 @@ class Image < ActiveRecord::Base
>    validates_uniqueness_of :external_key, :scope => [:provider_id, :pool_id]
>  
>    validates_presence_of :name
> +  validates_length_of :name, :maximum => 1024
>  
>    validates_presence_of :architecture, :if => :provider
>  
>   
Ack to Patches 3 and 4

Scott
_______________________________________________
deltacloud-devel mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/deltacloud-devel

Reply via email to