summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2014-09-25 00:52:17 -0700
committerelijah <elijah@riseup.net>2014-09-25 00:52:17 -0700
commit937092ff3cccfeeeb415f9bbb959c9f4591ec006 (patch)
treea2a76b782695b9f56b56c23d687b09039325b76b
parentbf6c804a7ed36043d6f43c1e38172b11ed50160a (diff)
fix inspection of provider.*.json
-rw-r--r--lib/leap_cli/commands/inspect.rb2
1 files changed, 1 insertions, 1 deletions
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