WIP: HTTP-01 solver that stores challenge tokens in FrostFS #4

Draft
potyarkin wants to merge 9 commits from potyarkin/lego:feature/http-01-frostfs-solver into tcl/http-01-frostfs-solver
Showing only changes of commit 10ccc57587 - Show all commits

View file

@ -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
} }