chore: Bump go version to 1.26.4 (#6750)
* chore: Bump to go version 1.26.4 * chore: Bump golangci-lint version * fix: Update URL to be ipv6 safe
This commit is contained in:
1 parent
42ffd37ec2
commit
9df1fad7d0
17 files changed
+18
-17
No files matched your search
@@ -11,6 +11,7 @@ import (
|
||||
"net"
|
||||
"net/url"
|
||||
"runtime"
|
||||
"strconv"
|
||||
"strings"
|
||||
|
||||
"github.com/hashicorp/boundary/globals"
|
||||
@@ -584,7 +585,7 @@ func (b *Server) createInitialOidcAuthMethod(ctx context.Context) (*oidc.AuthMet
|
||||
return nil, fmt.Errorf("error adding config keys to kms: %w", err)
|
||||
}
|
||||
|
||||
discoveryUrl, err := url.Parse(fmt.Sprintf("http://%s:%d", b.DevOidcSetup.hostAddr, b.DevOidcSetup.oidcPort))
|
||||
discoveryUrl, err := url.Parse(fmt.Sprintf("http://%s", net.JoinHostPort(b.DevOidcSetup.hostAddr, strconv.Itoa(b.DevOidcSetup.oidcPort))))
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("error parsing oidc test provider address: %w", err)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user