diff --git a/internal/providers/hetzner.go b/internal/providers/hetzner.go index ba5ee2b..6613e86 100644 --- a/internal/providers/hetzner.go +++ b/internal/providers/hetzner.go @@ -58,7 +58,7 @@ func (h *Hetzner) RawServerType(kind string) (string, error) { // GetServerLocation implements Providers. func (h *Hetzner) GetServerLocation(location string) (string, error) { - if !strings.HasPrefix(location, "HETZNER") { + if !strings.Contains(location, "HETZNER") { return "", fmt.Errorf("location isn't supported by hetzner: %s", location) } switch location {