Skip to content

Commit

Permalink
REMOVEME: break itwq
Browse files Browse the repository at this point in the history
  • Loading branch information
m-bucher committed Dec 21, 2023
1 parent 2fd9f2b commit 686e79b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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 @@ -10,7 +10,7 @@ class AppDefinition < ApplicationRecord
include Parameterizable::ByIdName

self.table_name = 'acd_app_definitions'
validates :name, :presence => true, :uniqueness => true
validates :name, :presence => true, :uniqueness => false
validates :ansible_playbook, :presence => true
has_many :app_instances, :inverse_of => :app_definition, :dependent => :destroy
belongs_to :ansible_playbook, :inverse_of => :app_definitions, :foreign_key => :acd_ansible_playbook_id
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ class ApplicationDefinition extends React.Component {
/>
{ansiblePlaybook.id == '' ? (
<div style={{ paddingTop: 25 }}>
<pre>{ "Ansible Playbook can't be blank" }</pre>
<pre>{ "Ansible Playbook can be blank" }</pre>
</div>
) : (<div></div>)}

Expand Down

0 comments on commit 686e79b

Please sign in to comment.