commit | 4325eb065a16d6da4efebba362f5c2fb836f4b77 | [log] [tgz] |
---|---|---|
author | Scott Baker <smbaker@gmail.com> | Thu Dec 10 15:48:37 2015 -0800 |
committer | Scott Baker <smbaker@gmail.com> | Thu Dec 10 15:48:37 2015 -0800 |
tree | 5261170a968c6536f93848aa4b68393eebbe3ac0 | |
parent | ee1b950dde793312e4928b2e067db9215f57ceba [diff] |
fix bug when looking up one vtn
diff --git a/xos/core/xoslib/methods/vtn.py b/xos/core/xoslib/methods/vtn.py index 14dd458..1a2af53 100644 --- a/xos/core/xoslib/methods/vtn.py +++ b/xos/core/xoslib/methods/vtn.py
@@ -55,7 +55,7 @@ def get_service(self, request, pk=None, service=None): for xos_service in Service.objects.all(): - if service in xos_service.get_vtn_ids(): + if service in xos_service.get_vtn_src_ids(): return Response(xos_service.get_vtn_dependencies_ids()) raise DoesNotExist()