Skip to content

Commit 8832023

Browse files
committed
fix lint
1 parent d73cc8d commit 8832023

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Diff for: datadog_lambda/metric.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
# This product includes software developed at Datadog (https://www.datadoghq.com/).
44
# Copyright 2019 Datadog, Inc.
55

6-
import numbers
76
import os
87
import time
98
import logging
@@ -66,7 +65,7 @@ def lambda_metric(metric_name, value, timestamp=None, tags=None, force_async=Fal
6665
float(value)
6766
except (ValueError, TypeError):
6867
logger.warning(
69-
"Ignoring metric submission for metric '%s' because the value cannot be converted to a number: %r",
68+
"Ignoring metric submission for metric '%s' because the value is not numeric: %r",
7069
metric_name,
7170
value,
7271
)

0 commit comments

Comments
 (0)