Skip to content

Commit 86afbf0

Browse files
committed
Normalize DataSource key
Fixes wpilibsuite#820
1 parent 0690aad commit 86afbf0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/networktables/src/main/java/edu/wpi/first/shuffleboard/plugin/networktables/sources/NetworkTableSource.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ public static void removeAllCachedSources() {
209209
*/
210210
@SuppressWarnings("unchecked")
211211
public static DataSource<?> forKey(String fullTableKey) {
212-
String key = fullTableKey;
212+
String key = NetworkTable.normalizeKey(fullTableKey, false);
213213
final String uri = NetworkTableSourceType.getInstance().toUri(key);
214214
return sources.computeIfAbsent(uri, __ -> {
215215
DataType<?> lookup = NetworkTableUtils.dataTypeForEntry(key);

0 commit comments

Comments
 (0)