Refactoring DeleteObject/DeleteObjects methods
- methods should return api.DeleteErrors - DeleteObjects should return only slice of errors - don't add nil errors Signed-off-by: Evgeniy Kulikov <kim@nspcc.ru>
This commit is contained in:
parent
960aa02bd3
commit
8eff7d4dd3
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ type (
|
|||
ListObjects(ctx context.Context, p *ListObjectsParams) (*ListObjectsInfo, error)
|
||||
|
||||
DeleteObject(ctx context.Context, bucket, object string) error
|
||||
DeleteObjects(ctx context.Context, bucket string, objects []string) ([]error, error)
|
||||
DeleteObjects(ctx context.Context, bucket string, objects []string) []error
|
||||
}
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue