fix AM urn format in GetVersion
authorMohamed Larabi <mohamed.larabi@inria.fr>
Wed, 3 Jul 2013 13:01:05 +0000 (15:01 +0200)
committerMohamed Larabi <mohamed.larabi@inria.fr>
Wed, 3 Jul 2013 13:01:05 +0000 (15:01 +0200)
sfa/managers/aggregate_manager.py

index fe6b07b..c23ee95 100644 (file)
@@ -11,7 +11,7 @@ class AggregateManager:
     # essentially a union of the core version, the generic version (this code) and
     # whatever the driver needs to expose
     def GetVersion(self, api, options):
-        xrn=Xrn(api.hrn)
+        xrn=Xrn(api.hrn, , type='authority+am')
         version = version_core()
         geni_api_versions = ApiVersions().get_versions()
         geni_api_versions['2'] = 'http://%s:%s' % (api.config.SFA_AGGREGATE_HOST, api.config.SFA_AGGREGATE_PORT)