WIP: HTTP-01 solver that stores challenge tokens in FrostFS #4
1 changed files with 2 additions and 2 deletions
|
@ -122,11 +122,11 @@ func (s *Storage) Delete(ctx context.Context, oid string) error {
|
||||||
Key: s.key,
|
Key: s.key,
|
||||||
})
|
})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return fmt.Errorf("delete request: %w", err)
|
return fmt.Errorf("delete request (%s): %w", oid, err)
|
||||||
}
|
}
|
||||||
stat := res.Status()
|
stat := res.Status()
|
||||||
if !status.IsSuccessful(stat) {
|
if !status.IsSuccessful(stat) {
|
||||||
return fmt.Errorf("delete object: %w", stat.(error))
|
return fmt.Errorf("delete object (%s): %w", oid, stat.(error))
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue