Commit 78250773 authored by M. Rehan Abbasi's avatar M. Rehan Abbasi
Browse files

rename prediction model env variable to cater for char limit

parent beec5fff
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -337,14 +337,14 @@ func Init() (err error) {
	log.Info("MEEP_LOCALITY: ", locality)

	// Get prediction model support
	predictionModelSupportedEnv := strings.TrimSpace(os.Getenv("MEEP_PREDICTION_MODEL_SUPPORTED"))
	predictionModelSupportedEnv := strings.TrimSpace(os.Getenv("MEEP_PREDICT_MODEL_SUPPORTED"))
	if predictionModelSupportedEnv != "" {
		value, err := strconv.ParseBool(predictionModelSupportedEnv)
		if err == nil {
			predictionModelSupported = value
		}
	}
	log.Info("MEEP_PREDICTION_MODEL_SUPPORTED: ", predictionModelSupported)
	log.Info("MEEP_PREDICT_MODEL_SUPPORTED: ", predictionModelSupported)

	// Set base path
	if mepName == defaultMepName {