From 4cec8a5eeb84e5c2d001b2e459f786ffcf514780 Mon Sep 17 00:00:00 2001
From: delacal <l.delacal@alumnos.upm.es>
Date: Wed, 26 Apr 2023 14:04:53 +0200
Subject: [PATCH] Fixed error where an int was attempted to be concatenated in
 a LOG, producing an exception

---
 .../service/l3_centralizedattackdetectorServiceServicerImpl.py  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/l3_centralizedattackdetector/service/l3_centralizedattackdetectorServiceServicerImpl.py b/src/l3_centralizedattackdetector/service/l3_centralizedattackdetectorServiceServicerImpl.py
index d7dd00a8f..8f59c8115 100644
--- a/src/l3_centralizedattackdetector/service/l3_centralizedattackdetectorServiceServicerImpl.py
+++ b/src/l3_centralizedattackdetector/service/l3_centralizedattackdetectorServiceServicerImpl.py
@@ -100,7 +100,7 @@ class l3_centralizedattackdetectorServiceServicerImpl(L3Centralizedattackdetecto
         self.cryptomining_detector_features_metadata.sort()
         LOGGER.info("Cryptomining Detector Features: " + str(self.cryptomining_detector_features_metadata))
         
-        LOGGER.info("Batch size: " + BATCH_SIZE)
+        LOGGER.info("Batch size: " + str(BATCH_SIZE))
 
         self.input_name = self.cryptomining_detector_model.get_inputs()[0].name
         self.label_name = self.cryptomining_detector_model.get_outputs()[0].name
-- 
GitLab