fix no language attr value in mesh (#2182)
This commit is contained in:
parent
5a7eb5656a
commit
334dd03429
|
|
@ -216,6 +216,8 @@ public class MetadataQueryEsDAO extends EsDAO implements IMetadataQueryDAO {
|
|||
serviceInstance.getAttributes().add(new Attribute(ServiceInstanceInventory.PropertyUtil.IPV4S, ipv4));
|
||||
}
|
||||
}
|
||||
} else {
|
||||
serviceInstance.setLanguage(Language.UNKNOWN);
|
||||
}
|
||||
|
||||
serviceInstances.add(serviceInstance);
|
||||
|
|
|
|||
|
|
@ -241,6 +241,8 @@ public class H2MetadataQueryDAO implements IMetadataQueryDAO {
|
|||
serviceInstance.getAttributes().add(new Attribute(ServiceInstanceInventory.PropertyUtil.IPV4S, ipv4));
|
||||
}
|
||||
}
|
||||
} else {
|
||||
serviceInstance.setLanguage(Language.UNKNOWN);
|
||||
}
|
||||
|
||||
serviceInstances.add(serviceInstance);
|
||||
|
|
|
|||
Loading…
Reference in New Issue