mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
lib/backup/azremote: typo fixes after 03872025b747fcc4ee98710ad10fc98764328511
This commit is contained in:
parent
176f10f5b2
commit
711698b858
1 changed files with 2 additions and 2 deletions
|
@ -128,7 +128,7 @@ func (fs *FS) ListParts() ([]common.Part, error) {
|
||||||
}
|
}
|
||||||
var p common.Part
|
var p common.Part
|
||||||
if !p.ParseFromRemotePath(file[len(dir):]) {
|
if !p.ParseFromRemotePath(file[len(dir):]) {
|
||||||
logger.Infof("skipping unknown object %q", file)
|
logger.Errorf("skipping unknown object %q", file)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -290,7 +290,7 @@ func (fs *FS) HasFile(filePath string) (bool, error) {
|
||||||
|
|
||||||
ctx := context.Background()
|
ctx := context.Background()
|
||||||
_, err := bc.GetProperties(ctx, nil)
|
_, err := bc.GetProperties(ctx, nil)
|
||||||
logger.Infof("GetProperties(%q) returned %w", bc.URL(), err)
|
logger.Errorf("GetProperties(%q) returned %s", bc.URL(), err)
|
||||||
var azerr *azcore.ResponseError
|
var azerr *azcore.ResponseError
|
||||||
if errors.As(err, &azerr) {
|
if errors.As(err, &azerr) {
|
||||||
if azerr.ErrorCode == storageErrorCodeBlobNotFound {
|
if azerr.ErrorCode == storageErrorCodeBlobNotFound {
|
||||||
|
|
Loading…
Reference in a new issue