X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=osm_ro%2Fnfvo_db.py;h=43762781b3e489ae71920112428f9352af015fd7;hb=55d234c0d00b9936a83b632513379b9e13999126;hp=3c0e7a55326d4812952c04f5c3e0e8c069ff3ea4;hpb=fc5f80b75e9b9d79a27df62638e03154ca00a767;p=osm%2FRO.git diff --git a/osm_ro/nfvo_db.py b/osm_ro/nfvo_db.py index 3c0e7a55..43762781 100644 --- a/osm_ro/nfvo_db.py +++ b/osm_ro/nfvo_db.py @@ -812,10 +812,10 @@ class nfvo_db(db_base.db_base): if table_name in self.tables_with_created_field: if "created_at" in row: - created_time_param = created_time + row.pop("created_at")*0.00001 + created_time_param = created_time + (index + row.pop("created_at"))*0.00001 else: created_time_param = created_time + index*0.00001 - index += 1 + index += 1 else: created_time_param = 0 self._new_row_internal(table_name, row, add_uuid=False, root_uuid=None,