GitLab's annual major release is around the corner. Along with a lot of new and exciting features, there will be a few breaking changes. Learn more here.

Commit 8631c183 authored by Caio Costa Salgado's avatar Caio Costa Salgado 😎
Browse files

shows which service is unavailable

Signed-off-by: Caio Salgado <caio.csalgado@gmail.com> @Eliada
parent dcb4d036
Pipeline #3608924 passed with stage
in 4 minutes and 53 seconds
......@@ -36,7 +36,7 @@ class DiscoveryController < ApplicationController
begin
collector_response = call_to_data_collector(uuids)
rescue
render error_payload('Service Unavailable', 503)
render error_payload('Data coloctor Service Unavailable', 503)
end
collector_response['resources'].map do |resource|
resource['uuid']
......@@ -47,7 +47,7 @@ class DiscoveryController < ApplicationController
begin
@found_resources = call_to_resource_catalog(build_resource_catalog_url)
rescue
render error_payload('Service Unavailable', 503)
render error_payload('Resouce Catalog Service Unavailable', 503)
end
end
......
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