coordinates set by default to UNKNOWN

This commit is contained in:
Lucio Lelii 2022-07-18 11:54:09 +02:00
parent 1b43d5eb0a
commit e9ab6d4048
1 changed files with 3 additions and 1 deletions

View File

@ -37,6 +37,8 @@ public class ContainerProfileBuilder {
private static Logger log = LoggerFactory.getLogger(ContainerProfileBuilder.class);
private static final String UNKNOWN = "Unknown";
private ContainerContext context;
public ContainerProfileBuilder(ContainerContext context) {
@ -71,7 +73,7 @@ public class ContainerProfileBuilder {
node.profile().description().newArchitecture().platformType(System.getProperty("os.arch")).smpSize(0)
.smtSize(0);
node.profile().newSite().domain(domainIn(cfg.hostname())).country(cfg.site().getCountry()).location(cfg.site().getLocation()).latitude("1").longitude("1");
node.profile().newSite().domain(domainIn(cfg.hostname())).country(cfg.site().getCountry()).location(cfg.site().getLocation()).latitude(UNKNOWN).longitude(UNKNOWN);
ArrayList<HashMap<String, String>> info = cpuInfo();