diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-08-01 18:11:13 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-08-01 18:11:13 +0300 |
commit | faa19db44a5a4d0fb7a3be07319ca6201caa185a (patch) | |
tree | 7370bae7c72258b93ab0f02ba87145b43de5313f /app/models/terraform | |
parent | 9c5341dd0832c3af377191c461c800e1aa048b10 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/terraform')
-rw-r--r-- | app/models/terraform/state.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/terraform/state.rb b/app/models/terraform/state.rb index 59f7d852ce6..e5c8f4ab32a 100644 --- a/app/models/terraform/state.rb +++ b/app/models/terraform/state.rb @@ -26,7 +26,7 @@ module Terraform validates :project_id, :name, presence: true validates :uuid, presence: true, uniqueness: true, length: { is: UUID_LENGTH }, - format: { with: HEX_REGEXP, message: 'only allows hex characters' } + format: { with: HEX_REGEXP, message: 'only allows hex characters' } default_value_for(:uuid, allows_nil: false) { SecureRandom.hex(UUID_LENGTH / 2) } |