lib/backup/azremote: typo fixes after 03872025b747fcc4ee98710ad10fc98764328511

This commit is contained in:
Aliaksandr Valialkin 2022-10-07 00:57:31 +03:00
parent 176f10f5b2
commit 711698b858
No known key found for this signature in database
GPG key ID: A72BEC6CD3D0DED1

View file

@ -128,7 +128,7 @@ func (fs *FS) ListParts() ([]common.Part, error) {
}
var p common.Part
if !p.ParseFromRemotePath(file[len(dir):]) {
logger.Infof("skipping unknown object %q", file)
logger.Errorf("skipping unknown object %q", file)
continue
}
@ -290,7 +290,7 @@ func (fs *FS) HasFile(filePath string) (bool, error) {
ctx := context.Background()
_, 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
if errors.As(err, &azerr) {
if azerr.ErrorCode == storageErrorCodeBlobNotFound {