Commit c6494154 authored by Alishan Ladhani's avatar Alishan Ladhani

Fix bug where URL does not show for functions

Affects functions deployed on Knative 0.5 clusters
parent 7bd08e2a
......@@ -44,7 +44,7 @@ module Projects
end
expose :url do |service|
service.dig('status', 'url')
service.dig('status', 'url') || "http://#{service.dig('status', 'domain')}"
end
expose :description do |service|
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment