From: elijah Date: Thu, 25 Sep 2014 07:52:17 +0000 (-0700) Subject: fix inspection of provider.*.json X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=937092ff3cccfeeeb415f9bbb959c9f4591ec006;p=leap%2Fleap_cli.git fix inspection of provider.*.json --- diff --git a/lib/leap_cli/commands/inspect.rb b/lib/leap_cli/commands/inspect.rb index 746a80c..e8f5caf 100644 --- a/lib/leap_cli/commands/inspect.rb +++ b/lib/leap_cli/commands/inspect.rb @@ -109,7 +109,7 @@ module LeapCli; module Commands if options[:base] inspect_json manager.base_provider elsif arg =~ /provider\.(.*)\.json/ - inspect_json manager.providers[$1] + inspect_json manager.env($1).provider else inspect_json manager.provider end