Skip to content

Commit

Permalink
Formatting fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
djberg96 committed Mar 4, 2019
1 parent 014b431 commit 68f67eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/conversion_host.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ class ConversionHost < ApplicationRecord
has_many :active_tasks, -> { where(:state => 'active') }, :class_name => ServiceTemplateTransformationPlanTask, :inverse_of => :conversion_host
delegate :ext_management_system, :hostname, :ems_ref, :to => :resource, :allow_nil => true

validates :resource, :presence => true
validates :name, :presence => true
validates :resource, :presence => true

validates :address,
:uniqueness => true,
Expand Down

0 comments on commit 68f67eb

Please sign in to comment.