[email protected] wrote:
> From: Tomas Sedovic <[email protected]>
>
> ---
>  src/app/models/instance.rb |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/src/app/models/instance.rb b/src/app/models/instance.rb
> index 902a458..fa89844 100644
> --- a/src/app/models/instance.rb
> +++ b/src/app/models/instance.rb
> @@ -38,6 +38,7 @@ class Instance < ActiveRecord::Base
>  
>    validates_presence_of :name
>    validates_uniqueness_of :name, :scope => :pool_id
> +  validates_length_of :name, :maximum => 1024
>  
>    # FIXME: for now, hardware profile is required, realm is optional, 
> although for RHEV-M,
>    # hardware profile may be optional too
>   
ACK to both patches in this series

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

Reply via email to