Commit b9fb60a2 authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Check CI/CD for CRDB in OFC24

parent 48cfce7a
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -223,6 +223,7 @@ def set_opticalconfig(db_engine : Engine, request : OpticalConfig):
                stmt = stmt.returning(RoadmTypeModel.roadm_uuid)
                roadm_id = session.execute(stmt).fetchone()

                LOGGER.warning('channels={:s}'.format(str(channels)))
                stmt = insert(ChannelModel).values(channels)
                stmt = stmt.on_conflict_do_update(
                    index_elements=[ChannelModel.channel_uuid],