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 04771b6 commit 0ed0f18Copy full SHA for 0ed0f18
‎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