[#249] session: Support patch verb
Signed-off-by: Airat Arifullin <a.arifullin@yadro.com>
This commit is contained in:
parent
3ba7446157
commit
93171b3319
2 changed files with 2 additions and 0 deletions
|
@ -237,6 +237,7 @@ const (
|
||||||
VerbObjectDelete // Delete rpc
|
VerbObjectDelete // Delete rpc
|
||||||
VerbObjectRange // GetRange rpc
|
VerbObjectRange // GetRange rpc
|
||||||
VerbObjectRangeHash // GetRangeHash rpc
|
VerbObjectRangeHash // GetRangeHash rpc
|
||||||
|
VerbObjectPatch // Patch rpc
|
||||||
)
|
)
|
||||||
|
|
||||||
// ForVerb specifies the object operation of the session scope. Each
|
// ForVerb specifies the object operation of the session scope. Each
|
||||||
|
|
|
@ -599,6 +599,7 @@ func TestObject_ForVerb(t *testing.T) {
|
||||||
session.VerbObjectRangeHash: v2session.ObjectVerbRangeHash,
|
session.VerbObjectRangeHash: v2session.ObjectVerbRangeHash,
|
||||||
session.VerbObjectRange: v2session.ObjectVerbRange,
|
session.VerbObjectRange: v2session.ObjectVerbRange,
|
||||||
session.VerbObjectDelete: v2session.ObjectVerbDelete,
|
session.VerbObjectDelete: v2session.ObjectVerbDelete,
|
||||||
|
session.VerbObjectPatch: v2session.ObjectVerbPatch,
|
||||||
} {
|
} {
|
||||||
val.ForVerb(from)
|
val.ForVerb(from)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue