Remove unused skip_authentication decorator
skip_authentication is not used as decorator for glanceclient methods. So this method can be safely removed from glance codebase because it is artifact from old implementation. Change-Id: I235b4c6b835c75266d8fae1bb603685aa17ad497
This commit is contained in:
committed by
Kairat Kushaev
parent
28f905fb45
commit
f58a73495f
@@ -428,9 +428,7 @@ class OpenStackImagesShell(object):
|
||||
endpoint = self._get_image_url(args)
|
||||
auth_token = args.os_auth_token
|
||||
|
||||
auth_req = (hasattr(args, 'func') and
|
||||
utils.is_authentication_required(args.func))
|
||||
if not auth_req or (endpoint and auth_token):
|
||||
if endpoint and auth_token:
|
||||
kwargs = {
|
||||
'token': auth_token,
|
||||
'insecure': args.insecure,
|
||||
|
||||
Reference in New Issue
Block a user