[#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
|
@ -48,7 +48,7 @@ func (x *Common) Put() (PutObjectStream, error) {
|
|||
return x.nextHandler.Put()
|
||||
}
|
||||
|
||||
func (x *Common) Patch() (PatchObjectstream, error) {
|
||||
func (x *Common) Patch() (PatchObjectStream, error) {
|
||||
if x.state.IsMaintenance() {
|
||||
return nil, new(apistatus.NodeUnderMaintenance)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue