Commit e3bcf15a authored by Gao Hongtao's avatar Gao Hongtao Committed by 吴晟
Browse files

fix no language attr value in mesh (#2182)

parent b6e3361b
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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);
+2 −0
Original line number Diff line number Diff line
@@ -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);