Skip to content

Commit 930a5aa

Browse files
committed
nit: Fix typo
1 parent f08be76 commit 930a5aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

awsagentprovider/src/main/java/software/amazon/opentelemetry/javaagent/providers/AwsApplicationSignalsCustomizerProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ private Sampler customizeSampler(Sampler sampler, ConfigProperties configProps)
307307
Level.WARNING, "Failed to parse adaptive sampling configuration: {0}", e.getMessage());
308308
}
309309

310-
if (config != null) {
310+
if (parsedConfig != null) {
311311
try {
312312
((AwsXrayRemoteSampler) sampler).setAdaptiveSamplingConfig(parsedConfig);
313313
} catch (Exception e) {

0 commit comments

Comments
 (0)