소스 검색

Merged in nherciu/coriolis/endplist (pull request #47)

Fixed endpoint list bug.
nherciu 9 년 전
부모
커밋
14cc8bc6db
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      coriolis/db/api.py

+ 1 - 1
coriolis/db/api.py

@@ -62,7 +62,7 @@ def _soft_delete_aware_query(context, *args, **kwargs):
 def get_endpoints(context):
     q = _soft_delete_aware_query(context, models.Endpoint)
     return q.filter(
-        models.Replica.project_id == context.tenant).all()
+        models.Endpoint.project_id == context.tenant).all()
 
 
 @enginefacade.reader