summaryrefslogtreecommitdiffstats
path: root/lib/puppet/network/rest_authorization.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet/network/rest_authorization.rb')
-rw-r--r--lib/puppet/network/rest_authorization.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/network/rest_authorization.rb b/lib/puppet/network/rest_authorization.rb
index 50f094e3e..d636d486a 100644
--- a/lib/puppet/network/rest_authorization.rb
+++ b/lib/puppet/network/rest_authorization.rb
@@ -16,7 +16,7 @@ module Puppet::Network
# Verify that our client has access.
def check_authorization(indirection, method, key, params)
- authconfig.allowed?(indirection, method, key, params)
+ authconfig.check_authorization(indirection, method, key, params)
end
end
end