Skip to content

Commit 17c865d

Browse files
committed
Fix spotbugs issue. This is expected for this factory class for MetricsLogger to enable user configuration of the MetricsLogger singleton.
1 parent a14c43c commit 17c865d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spotbugs-exclude.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,8 +234,8 @@
234234
<Method name="s3Client"/>
235235
</And>
236236
<And>
237-
<Class name="software.amazon.lambda.powertools.metrics.MetricsUtils"/>
238-
<Method name="metricsLogger"/>
237+
<Class name="software.amazon.lambda.powertools.metrics.MetricsLoggerFactory"/>
238+
<Method name="getMetricsLogger"/>
239239
</And>
240240
</Or>
241241
</Match>

0 commit comments

Comments
 (0)