Skip to content

Commit

Permalink
fixup! REMOVEME: break itwq
Browse files Browse the repository at this point in the history
  • Loading branch information
m-bucher committed Dec 20, 2023
1 parent 35c1bd5 commit e10407f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/foreman_acd/app_definition.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class AppDefinition < ApplicationRecord

self.table_name = 'acd_app_definitions'
validates :name, :presence => true, :uniqueness => true
validates :ansible_playbook, :presence => true
validates :ansible_playbook, :presence => false
has_many :app_instances, :inverse_of => :app_definition, :dependent => :destroy
belongs_to :ansible_playbook, :inverse_of => :app_definitions, :foreign_key => :acd_ansible_playbook_id
scoped_search :on => :name
Expand Down

0 comments on commit e10407f

Please sign in to comment.