aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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