Skip to content

Commit

Permalink
pdr.distrib.cachemgr: support auth key
Browse files Browse the repository at this point in the history
  • Loading branch information
RayPlante committed Jun 11, 2024
1 parent 0f1033d commit 002e0dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/nistoar/pdr/distrib/cachemgr.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ class CacheManagerClient(object):
OBJS_EP = "objects/"
QUEU_EP = "queue/"

def __init__(self, baseurl):
def __init__(self, baseurl, authkey=None):
"""
initialize the client
"""
self.svccli = RESTServiceClient(baseurl)
self.svccli = RESTServiceClient(baseurl, authkey)

def volumes(self):
"""
Expand Down

0 comments on commit 002e0dc

Please sign in to comment.