diff options
author | Enrique Alcantara <ealcantara@gitlab.com> | 2019-04-01 18:40:31 -0400 |
---|---|---|
committer | Enrique Alcantara <ealcantara@gitlab.com> | 2019-04-03 15:23:04 -0400 |
commit | 842203ff3393ec451159c41ac02addac79214da8 (patch) | |
tree | 399e2969df38be446d83013f6ac1674ce803eb3e /app/views/clusters/clusters | |
parent | 0a2edb292bba3efe665efc45cdf03e41c346f938 (diff) | |
download | gitlab-ce-842203ff3393ec451159c41ac02addac79214da8.tar.gz |
Improve API URL validation message
Diffstat (limited to 'app/views/clusters/clusters')
-rw-r--r-- | app/views/clusters/clusters/user/_form.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/clusters/clusters/user/_form.html.haml b/app/views/clusters/clusters/user/_form.html.haml index bcd7f00bd7c..27b11e8469f 100644 --- a/app/views/clusters/clusters/user/_form.html.haml +++ b/app/views/clusters/clusters/user/_form.html.haml @@ -12,7 +12,7 @@ = field.fields_for :platform_kubernetes, @user_cluster.platform_kubernetes do |platform_kubernetes_field| = platform_kubernetes_field.url_field :api_url, required: true, - title: s_('ClusterIntegration|API URL must use http or https protocol.'), + title: s_('ClusterIntegration|API URL should be a valid http/https url.'), label: s_('ClusterIntegration|API URL'), label_class: 'label-bold' = platform_kubernetes_field.text_area :ca_cert, placeholder: s_('ClusterIntegration|Certificate Authority bundle (PEM format)'), |