Skip to content
Snippets Groups Projects
Commit 1b437434 authored by famelis's avatar famelis
Browse files

fix: add missing import for math library

parent 0e40bd49
No related branches found
No related tags found
2 merge requests!142Release TeraFlowSDN 2.1,!106Fix: Monitoring component
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
# limitations under the License. # limitations under the License.
import time import time
import math
from random import random from random import random
from questdb.ingress import Sender, IngressError from questdb.ingress import Sender, IngressError
...@@ -326,4 +327,4 @@ class MetricsDB(): ...@@ -326,4 +327,4 @@ class MetricsDB():
else: else:
LOGGER.debug(f"No new data for the alarm of KPI {kpi_id}") LOGGER.debug(f"No new data for the alarm of KPI {kpi_id}")
except (Exception) as e: except (Exception) as e:
LOGGER.debug(f"Alarm data cannot be retrieved. {e}") LOGGER.debug(f"Alarm data cannot be retrieved. {e}")
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment