diff options
author | Dylan Griffith <dyl.griffith@gmail.com> | 2019-02-14 15:10:35 -0600 |
---|---|---|
committer | Dylan Griffith <dyl.griffith@gmail.com> | 2019-02-14 16:25:41 -0600 |
commit | 3016a2a3606fb10e5bba48111e7e6cd1bb279ec6 (patch) | |
tree | c6f60b24045665b47fe38f0fe04b266a6388c6de /app | |
parent | 482b91d5195b223c0e0e687ffba9d0a53f4378d5 (diff) | |
download | gitlab-ce-3016a2a3606fb10e5bba48111e7e6cd1bb279ec6.tar.gz |
Remove TLD validation from Cluster#domain
Diffstat (limited to 'app')
-rw-r--r-- | app/models/clusters/cluster.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/clusters/cluster.rb b/app/models/clusters/cluster.rb index 7025fc2cc02..8b0dc084c9f 100644 --- a/app/models/clusters/cluster.rb +++ b/app/models/clusters/cluster.rb @@ -50,7 +50,7 @@ module Clusters validates :name, cluster_name: true validates :cluster_type, presence: true - validates :domain, allow_blank: true, hostname: { allow_numeric_hostname: true, require_valid_tld: true } + validates :domain, allow_blank: true, hostname: { allow_numeric_hostname: true } validate :restrict_modification, on: :update validate :no_groups, unless: :group_type? |