Skip to content

Commit 5e2aaac

Browse files
authored
[dynamic control] add jsonkeyvalue source (#2702)
1 parent 394eca2 commit 5e2aaac

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • dynamic-control/src/main/java/io/opentelemetry/contrib/dynamic/policy/source

dynamic-control/src/main/java/io/opentelemetry/contrib/dynamic/policy/source/SourceFormat.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
/** Supported source formats and their parser dispatch. */
1414
public enum SourceFormat {
1515
KEYVALUE("keyvalue", KeyValueSourceWrapper::parse),
16-
JSON("json", JsonSourceWrapper::parse);
16+
JSON("json", JsonSourceWrapper::parse), // Will remove
17+
JSONKEYVALUE("jsonkeyvalue", JsonSourceWrapper::parse);
1718

1819
private final String configValue;
1920
private final SourceParser parser;

0 commit comments

Comments
 (0)