mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-25 00:50:31 +00:00
Format more aws hostnames
This commit is contained in:
parent
860ae0ee60
commit
e00ff07775
1 changed files with 1 additions and 1 deletions
|
@ -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];
|
||||
|
|
Loading…
Reference in a new issue