Fix minor typo

This commit is contained in:
George Kalampokis 2021-12-14 17:07:00 +02:00
parent ba8bae1a88
commit 6964aa1d47
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ public class HostRDAMapper {
public static Host toRDA(List<JsonNode> nodes, String numbering) {
Host rda = new Host();
for (JsonNode node: nodes) {
String rdaProperty = node.get("rdaProperties").asText();
String rdaProperty = node.get("rdaProperty").asText();
if (rdaProperty.contains("host")) {
int firstDiff = MyStringUtils.getFirstDifference(numbering, node.get("numbering").asText());
if (firstDiff == -1 || firstDiff > 2) {