service: providers are identified by full ids internally.

master
Luka Vandervelden 2019-10-24 15:41:53 +02:00
parent 440fde06f8
commit 5ab14d4ee4
1 changed files with 2 additions and 1 deletions

View File

@ -57,7 +57,8 @@ class Service
end
specs.sections.select(&.name.==("consumes")).each do |section|
@providers[section.options[0]] = section.content["from"].as_s
env, provider = Service.parse_id section.content["from"].as_s
@providers[section.options[0]] = "#{env}/#{provider}"
end
end