Commit c16e1351 authored by Kevin Di Lallo's avatar Kevin Di Lallo
Browse files

clear etsi-mec service databases on service init

parent 53551f2b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -144,6 +144,7 @@ func Init() (err error) {
		log.Error("Failed connection to Redis DB. Error: ", err)
		return err
	}
	_ = rc.DBFlush(baseKey)
	log.Info("Connected to Redis DB, location service table")

	// Connect to Session Manager
+1 −0
Original line number Diff line number Diff line
@@ -138,6 +138,7 @@ func Init() (err error) {
		log.Error("Failed connection to Redis DB. Error: ", err)
		return err
	}
	_ = rc.DBFlush(baseKey)
	log.Info("Connected to Redis DB, RNI service table")

	// Connect to Session Manager
+1 −0
Original line number Diff line number Diff line
@@ -122,6 +122,7 @@ func Init() (err error) {
		log.Error("Failed connection to Redis DB. Error: ", err)
		return err
	}
	_ = rc.DBFlush(baseKey)
	log.Info("Connected to Redis DB, RNI service table")

	// Connect to Session Manager