diff options
author | Thong Kuah <tkuah@gitlab.com> | 2019-02-08 00:40:55 +0300 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2019-02-08 00:40:55 +0300 |
commit | f67fc237271bc26557f29c60b3f5772a6e0d3e63 (patch) | |
tree | 1396323f70672257c2c190a5a7edb606eefac4c6 /app/serializers/cluster_application_entity.rb | |
parent | e2966a6d8c5d26b8f7d71bfbacb54162bfa6567f (diff) |
Upgrade cluster applications, starting with runner
Diffstat (limited to 'app/serializers/cluster_application_entity.rb')
-rw-r--r-- | app/serializers/cluster_application_entity.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/serializers/cluster_application_entity.rb b/app/serializers/cluster_application_entity.rb index 62b23a889c8..02df1480828 100644 --- a/app/serializers/cluster_application_entity.rb +++ b/app/serializers/cluster_application_entity.rb @@ -8,4 +8,5 @@ class ClusterApplicationEntity < Grape::Entity expose :external_ip, if: -> (e, _) { e.respond_to?(:external_ip) } expose :hostname, if: -> (e, _) { e.respond_to?(:hostname) } expose :email, if: -> (e, _) { e.respond_to?(:email) } + expose :update_available?, as: :update_available, if: -> (e, _) { e.respond_to?(:update_available?) } end |