mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-12-07 18:06:21 +00:00
chore: upgrade to azure-sdk v40.2.0
chore: use autorest v0.9.6 fix go module issue fix go module error
This commit is contained in:
2
vendor/github.com/Azure/azure-sdk-for-go/storage/blob.go
generated
vendored
2
vendor/github.com/Azure/azure-sdk-for-go/storage/blob.go
generated
vendored
@@ -566,7 +566,7 @@ type DeleteBlobOptions struct {
|
||||
}
|
||||
|
||||
// Delete deletes the given blob from the specified container.
|
||||
// If the blob does not exists at the time of the Delete Blob operation, it
|
||||
// If the blob does not exist at the time of the Delete Blob operation, it
|
||||
// returns error.
|
||||
// See https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/Delete-Blob
|
||||
func (b *Blob) Delete(options *DeleteBlobOptions) error {
|
||||
|
||||
2
vendor/github.com/Azure/azure-sdk-for-go/storage/directory.go
generated
vendored
2
vendor/github.com/Azure/azure-sdk-for-go/storage/directory.go
generated
vendored
@@ -94,7 +94,7 @@ func (d *Directory) Create(options *FileRequestOptions) error {
|
||||
}
|
||||
|
||||
// CreateIfNotExists creates this directory under the associated share if the
|
||||
// directory does not exists. Returns true if the directory is newly created or
|
||||
// directory does not exist. Returns true if the directory is newly created or
|
||||
// false if the directory already exists.
|
||||
//
|
||||
// See https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/Create-Directory
|
||||
|
||||
4
vendor/github.com/Azure/azure-sdk-for-go/storage/entity.go
generated
vendored
4
vendor/github.com/Azure/azure-sdk-for-go/storage/entity.go
generated
vendored
@@ -207,7 +207,7 @@ func (e *Entity) Delete(force bool, options *EntityOptions) error {
|
||||
uri := e.Table.tsc.client.getEndpoint(tableServiceName, e.buildPath(), query)
|
||||
resp, err := e.Table.tsc.client.exec(http.MethodDelete, uri, headers, nil, e.Table.tsc.auth)
|
||||
if err != nil {
|
||||
if resp.StatusCode == http.StatusPreconditionFailed {
|
||||
if resp != nil && resp.StatusCode == http.StatusPreconditionFailed {
|
||||
return fmt.Errorf(etagErrorTemplate, err)
|
||||
}
|
||||
return err
|
||||
@@ -433,7 +433,7 @@ func (e *Entity) updateMerge(force bool, verb string, options *EntityOptions) er
|
||||
uri := e.Table.tsc.client.getEndpoint(tableServiceName, e.buildPath(), query)
|
||||
resp, err := e.Table.tsc.client.exec(verb, uri, headers, bytes.NewReader(body), e.Table.tsc.auth)
|
||||
if err != nil {
|
||||
if resp.StatusCode == http.StatusPreconditionFailed {
|
||||
if resp != nil && resp.StatusCode == http.StatusPreconditionFailed {
|
||||
return fmt.Errorf(etagErrorTemplate, err)
|
||||
}
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user