From 26deff335898d7d2abfb98f5dc2e859d6481f16d Mon Sep 17 00:00:00 2001 From: Leonard Lyubich Date: Fri, 18 Feb 2022 17:28:50 +0300 Subject: [PATCH] [#194] status: Rename `IRREGULAR_LOCK` to `LOCK_NON_OBJECT_TYPE` Signed-off-by: Leonard Lyubich --- object/service.proto | 2 +- status/types.proto | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/object/service.proto b/object/service.proto index 629b68c..bdce523 100644 --- a/object/service.proto +++ b/object/service.proto @@ -39,7 +39,7 @@ service ObjectService { // - **LOCKED** (2048, SECTION_OBJECT): // placement of an object of type TOMBSTONE that includes at least one locked // object is prohibited; - // - **IRREGULAR_LOCK** (2049, SECTION_OBJECT): + // - **LOCK_NON_REGULAR_OBJECT** (2049, SECTION_OBJECT): // placement of an object of type LOCK that includes at least one object of // type other than REGULAR is prohibited. rpc Put(stream PutRequest) returns (PutResponse); diff --git a/status/types.proto b/status/types.proto index 18335bc..1ee0959 100644 --- a/status/types.proto +++ b/status/types.proto @@ -96,6 +96,6 @@ enum Object { // [**2048**] Operation rejected by the object lock. LOCKED = 0; - // [**2049**] Locking of the irregular object rejected. - IRREGULAR_LOCK = 1; + // [**2049**] Locking an object with a non-REGULAR type rejected. + LOCK_NON_REGULAR_OBJECT = 1; }