mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-09-25 09:55:52 +00:00
Format more aws hostnames
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user