mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-20 15:36:31 +01:00
cbab5f3b42
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.40.22 to 1.40.25. - [Release notes](https://github.com/aws/aws-sdk-go/releases) - [Changelog](https://github.com/aws/aws-sdk-go/blob/main/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-go/compare/v1.40.22...v1.40.25) --- updated-dependencies: - dependency-name: github.com/aws/aws-sdk-go dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
14 lines
282 B
Go
14 lines
282 B
Go
//go:build go1.8
|
|
// +build go1.8
|
|
|
|
package aws
|
|
|
|
import "net/url"
|
|
|
|
// URLHostname will extract the Hostname without port from the URL value.
|
|
//
|
|
// Wrapper of net/url#URL.Hostname for backwards Go version compatibility.
|
|
func URLHostname(url *url.URL) string {
|
|
return url.Hostname()
|
|
}
|