[#1307] object: Implement Patch
method
Signed-off-by: Airat Arifullin <a.arifullin@yadro.com>
This commit is contained in:
parent
a4a1c3f18b
commit
e890f1b4b1
19 changed files with 430 additions and 81 deletions
|
@ -38,7 +38,7 @@ type putStreamResponser struct {
|
|||
}
|
||||
|
||||
type patchStreamResponser struct {
|
||||
stream PatchObjectstream
|
||||
stream PatchObjectStream
|
||||
respSvc *response.Service
|
||||
}
|
||||
|
||||
|
@ -109,7 +109,7 @@ func (s *patchStreamResponser) CloseAndRecv(ctx context.Context) (*object.PatchR
|
|||
return r, nil
|
||||
}
|
||||
|
||||
func (s *ResponseService) Patch() (PatchObjectstream, error) {
|
||||
func (s *ResponseService) Patch() (PatchObjectStream, error) {
|
||||
stream, err := s.svc.Patch()
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("could not create Put object streamer: %w", err)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue