fix AM urn format in GetVersion
[sfa.git] / 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)