coordinates set by default to UNKNOWN
This commit is contained in:
parent
1b43d5eb0a
commit
e9ab6d4048
|
@ -37,6 +37,8 @@ public class ContainerProfileBuilder {
|
||||||
|
|
||||||
private static Logger log = LoggerFactory.getLogger(ContainerProfileBuilder.class);
|
private static Logger log = LoggerFactory.getLogger(ContainerProfileBuilder.class);
|
||||||
|
|
||||||
|
private static final String UNKNOWN = "Unknown";
|
||||||
|
|
||||||
private ContainerContext context;
|
private ContainerContext context;
|
||||||
|
|
||||||
public ContainerProfileBuilder(ContainerContext context) {
|
public ContainerProfileBuilder(ContainerContext context) {
|
||||||
|
@ -71,7 +73,7 @@ public class ContainerProfileBuilder {
|
||||||
node.profile().description().newArchitecture().platformType(System.getProperty("os.arch")).smpSize(0)
|
node.profile().description().newArchitecture().platformType(System.getProperty("os.arch")).smpSize(0)
|
||||||
.smtSize(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();
|
ArrayList<HashMap<String, String>> info = cpuInfo();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue