Skip to content

Commit

Permalink
[nspcc-dev#194] status: Rename IRREGULAR_LOCK to `LOCK_NON_OBJECT_T…
Browse files Browse the repository at this point in the history
…YPE`

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
  • Loading branch information
Leonard Lyubich committed Feb 18, 2022
1 parent adecc9d commit 26deff3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion object/service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
4 changes: 2 additions & 2 deletions status/types.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit 26deff3

Please sign in to comment.