Fix query lcc ops bug
[vfc/nfvo/lcm.git] / lcm / ns / biz / query_ns_lcm_op_occ.py
index e4e9d92..051efb2 100644 (file)
@@ -46,7 +46,8 @@ class QueryNsLcmOpOcc:
         else:
             lcm_ops = NSLcmOpOccModel.objects.all()
         if not lcm_ops.exists():
-            raise NSLCMException('LCM Operation Occurances do not exist')
+            return []
+            # raise NSLCMException('LCM Operation Occurances do not exist')
         return [self.fill_resp_data(lcm_op) for lcm_op in lcm_ops]
 
     def fill_resp_data(self, lcm_op):