- agg_rspec = aggregates[aggregate].get_resources(credential, hrn, request_hash, caller_cred)
+ try:
+ request_hash=None
+ agg_rspec = aggregates[aggregate].get_resources(credential, hrn, request_hash, caller_cred)
+ except:
+ arg_list = [credential, hrn]
+ request_hash = self.api.key.compute_hash(arg_list)
+ agg_rspec = aggregates[aggregate].get_resources(credential, hrn, request_hash, caller_cred)