diff --git a/.changelog/24644.txt b/.changelog/24644.txt new file mode 100644 index 00000000000..bd586d5da81 --- /dev/null +++ b/.changelog/24644.txt @@ -0,0 +1,3 @@ +```release-note:bug +api: Fixed a bug where alloc exec/logs/fs APIs would return errors for non-global regions +``` diff --git a/api/api.go b/api/api.go index 8693167ee4c..07cc4d9f23e 100644 --- a/api/api.go +++ b/api/api.go @@ -234,7 +234,6 @@ func (c *Config) ClientConfig(region, address string, tlsEnabled bool) *Config { HttpAuth: c.HttpAuth, WaitTime: c.WaitTime, TLSConfig: c.TLSConfig.Copy(), - url: copyURL(c.url), } // Update the tls server name for connecting to a client diff --git a/e2e/terraform/provision-nomad/etc/nomad.d/base.hcl b/e2e/terraform/provision-nomad/etc/nomad.d/base.hcl index 2208e62ab32..4532140661d 100644 --- a/e2e/terraform/provision-nomad/etc/nomad.d/base.hcl +++ b/e2e/terraform/provision-nomad/etc/nomad.d/base.hcl @@ -1,6 +1,7 @@ # Copyright (c) HashiCorp, Inc. # SPDX-License-Identifier: BUSL-1.1 +region = "e2e" bind_addr = "0.0.0.0" data_dir = "${data_dir}" enable_debug = true