mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 10:33:35 +00:00
rebase: bump github.com/aws/aws-sdk-go-v2/service/sts
Bumps [github.com/aws/aws-sdk-go-v2/service/sts](https://github.com/aws/aws-sdk-go-v2) from 1.16.13 to 1.16.17. - [Release notes](https://github.com/aws/aws-sdk-go-v2/releases) - [Changelog](https://github.com/aws/aws-sdk-go-v2/blob/main/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-go-v2/compare/v1.16.13...service/ram/v1.16.17) --- updated-dependencies: - dependency-name: github.com/aws/aws-sdk-go-v2/service/sts dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
committed by
mergify[bot]
parent
9ddb4a784a
commit
e5c5646963
9
vendor/github.com/aws/smithy-go/transport/http/request.go
generated
vendored
9
vendor/github.com/aws/smithy-go/transport/http/request.go
generated
vendored
@ -7,6 +7,7 @@ import (
|
||||
"io/ioutil"
|
||||
"net/http"
|
||||
"net/url"
|
||||
"strings"
|
||||
|
||||
iointernal "github.com/aws/smithy-go/transport/http/internal/io"
|
||||
)
|
||||
@ -33,6 +34,14 @@ func NewStackRequest() interface{} {
|
||||
}
|
||||
}
|
||||
|
||||
// IsHTTPS returns if the request is HTTPS. Returns false if no endpoint URL is set.
|
||||
func (r *Request) IsHTTPS() bool {
|
||||
if r.URL == nil {
|
||||
return false
|
||||
}
|
||||
return strings.EqualFold(r.URL.Scheme, "https")
|
||||
}
|
||||
|
||||
// Clone returns a deep copy of the Request for the new context. A reference to
|
||||
// the Stream is copied, but the underlying stream is not copied.
|
||||
func (r *Request) Clone() *Request {
|
||||
|
Reference in New Issue
Block a user