diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-04-16 03:09:22 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-04-16 03:09:22 +0300 |
commit | cf97983af87962e678412790363bba200a2be4b1 (patch) | |
tree | 2c16fc8a32b92d6e55fbda66796c0ea59e9bea61 /app/serializers | |
parent | 2eda658f34763b651b198365550c67d073439a12 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/serializers')
-rw-r--r-- | app/serializers/cluster_application_entity.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/serializers/cluster_application_entity.rb b/app/serializers/cluster_application_entity.rb index c08691c6bcf..85a40f1f5cb 100644 --- a/app/serializers/cluster_application_entity.rb +++ b/app/serializers/cluster_application_entity.rb @@ -16,4 +16,7 @@ class ClusterApplicationEntity < Grape::Entity expose :available_domains, using: Serverless::DomainEntity, if: -> (e, _) { e.respond_to?(:available_domains) } expose :pages_domain, using: Serverless::DomainEntity, if: -> (e, _) { e.respond_to?(:pages_domain) } expose :modsecurity_mode, if: -> (e, _) { e.respond_to?(:modsecurity_mode) } + expose :host, if: -> (e, _) { e.respond_to?(:host) } + expose :port, if: -> (e, _) { e.respond_to?(:port) } + expose :protocol, if: -> (e, _) { e.respond_to?(:protocol) } end |