Commit 269e1bb6 authored by Yann Garcia's avatar Yann Garcia
Browse files

Merge branch 'STF625_MEC030' of https://forge.etsi.org/rep/mec/AdvantEDGE into STF625_MEC030

parents b773ec3b 8678157b
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -912,6 +912,12 @@ func (tm *TrafficMgr) PopulatePoaLoad(poaNameList []string, gpsCoordinates [][]f
			return err
		}

		if _, ok := categoriesLoads[category]; !ok {
			err = errors.New("Category " + category + " not present in the categories table")
			log.Error(err.Error())
			return err
		}

		err = tm.CreatePoaLoad(poaName, category)
		if err != nil {
			log.Error(err.Error())