Skip to content

Commit

Permalink
Merge branch 'alpha' into SCRUM-4509
Browse files Browse the repository at this point in the history
  • Loading branch information
VarunReddy1111 authored Nov 8, 2024
2 parents f8d6832 + 50d5088 commit 0a3db5a
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,12 @@ public APIVersionInfo get() {
info.setName(name);
info.setAgrCurationSchemaVersions(linkMLClassVersions);
info.setSubmittedClassSchemaVersions(submittedClassVersions);
info.setEsHost(esHost);
String[] array = esHost.split(",");
if (array.length > 0) {
info.setEsHost(array[0]);
} else {
info.setEsHost(esHost);
}
info.setEnv(env);
return info;
}
Expand Down

0 comments on commit 0a3db5a

Please sign in to comment.