[#248] session: Support patch verb
Signed-off-by: Airat Arifullin <a.arifullin@yadro.com>
This commit is contained in:
parent
8b21c804df
commit
fcbf7de470
2 changed files with 2 additions and 0 deletions
|
@ -237,6 +237,7 @@ const (
|
|||
VerbObjectDelete // Delete rpc
|
||||
VerbObjectRange // GetRange rpc
|
||||
VerbObjectRangeHash // GetRangeHash rpc
|
||||
VerbObjectPatch // Patch rpc
|
||||
)
|
||||
|
||||
// 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.VerbObjectRange: v2session.ObjectVerbRange,
|
||||
session.VerbObjectDelete: v2session.ObjectVerbDelete,
|
||||
session.VerbObjectPatch: v2session.ObjectPatch,
|
||||
} {
|
||||
val.ForVerb(from)
|
||||
|
||||
|
|
Loading…
Reference in a new issue