Skip to content

Commit d914d52

Browse files
zeitlingertrask
andauthored
Update api/incubator/src/main/java/io/opentelemetry/api/incubator/config/DeclarativeConfigProperties.java
Co-authored-by: Trask Stalnaker <[email protected]>
1 parent fae075d commit d914d52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/incubator/src/main/java/io/opentelemetry/api/incubator/config/DeclarativeConfigProperties.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ default DeclarativeConfigProperties getStructured(
209209
* @throws DeclarativeConfigException if the property is not a mapping
210210
*/
211211
default DeclarativeConfigProperties get(String name) {
212-
return defaultIfNull(getStructured(name), empty());
212+
return getStructured(name, empty());
213213
}
214214

215215
/**

0 commit comments

Comments
 (0)