Format more aws hostnames

This commit is contained in:
crschnick 2024-08-10 14:51:16 +00:00
parent 860ae0ee60
commit e00ff07775

View file

@ -104,7 +104,7 @@ public class DataStoreFormatter {
DataStoreFormatter.cut(name, lengthShare), DataStoreFormatter.cut(region, length - lengthShare));
}
if (input.endsWith(".compute.amazonaws.com")) {
if (input.endsWith(".compute.amazonaws.com") || input.endsWith(".compute.internal")) {
var split = input.split("\\.");
var name = split[0];
var region = split[1];