We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23cacab commit 8d4316aCopy full SHA for 8d4316a
communication/src/main/java/datadog/communication/ddagent/SharedCommunicationObjects.java
@@ -142,7 +142,7 @@ public DDAgentFeaturesDiscovery featuresDiscovery(Config config) {
142
DDAgentFeaturesDiscovery ret = featuresDiscovery;
143
if (ret == null) {
144
synchronized (this) {
145
- if (featuresDiscovery == null) {
+ if ((ret = featuresDiscovery) == null) {
146
createRemaining(config);
147
ret =
148
new DDAgentFeaturesDiscovery(
0 commit comments