]> gitweb.fluxo.info Git - leap/leap_cli.git/commitdiff
fix inspection of provider.*.json
authorelijah <elijah@riseup.net>
Thu, 25 Sep 2014 07:52:17 +0000 (00:52 -0700)
committerelijah <elijah@riseup.net>
Thu, 25 Sep 2014 07:52:17 +0000 (00:52 -0700)
lib/leap_cli/commands/inspect.rb

index 746a80c912b97ebb0258a4d8bddef3a47642d2d4..e8f5caf0e524e54c2eaea0829bc1952f11f22eb2 100644 (file)
@@ -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