diff --git a/apps/terminal/models/component/endpoint.py b/apps/terminal/models/component/endpoint.py index 8699eb898..c5aab12d9 100644 --- a/apps/terminal/models/component/endpoint.py +++ b/apps/terminal/models/component/endpoint.py @@ -82,7 +82,7 @@ class Endpoint(JMSBaseModel): return None endpoints = cls.objects.filter(name__in=values).order_by('-date_updated') for endpoint in endpoints: - if endpoint.is_valid_for(protocol): + if endpoint.is_valid_for(instance, protocol): return endpoint