From: Anil-Kumar Vengalil Date: Sun, 1 Nov 2009 13:29:42 +0000 (+0000) Subject: passing request_hash to federated resolve call X-Git-Tag: sfa-0.9-6~70 X-Git-Url: http://git.onelab.eu/?p=sfa.git;a=commitdiff_plain;h=37d363e6650c3e7afc174532ea66828f5b2a57f2 passing request_hash to federated resolve call --- diff --git a/sfa/methods/resolve.py b/sfa/methods/resolve.py index c1d87143..cc637b89 100644 --- a/sfa/methods/resolve.py +++ b/sfa/methods/resolve.py @@ -59,9 +59,10 @@ class resolve(Method): # forward the request if registry_hrn != self.api.hrn: credential = self.api.getCredential() + request_hash=None try: - records = registries[registry_hrn].resolve(credential, hrn, caller_cred=caller_cred) - good_records = [record.as_dict() for record in records] + records = registries[registry_hrn].resolve(credential, hrn, request_hash, caller_cred) + good_records = [GeniRecord(dict=record).as_dict() for record in records] if good_records: return good_records except: