Merge pull request #607 from robertbaldyga/pyocf-add-error-codes

pyocf: Add missing error codes
This commit is contained in:
Robert Baldyga 2021-12-14 16:03:05 +01:00 committed by GitHub
commit 058d701f8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,6 +52,8 @@ class OcfErrorCode(IntEnum):
OCF_ERR_CORE_UUID_EXISTS = auto() OCF_ERR_CORE_UUID_EXISTS = auto()
OCF_ERR_METADATA_LAYOUT_MISMATCH = auto() OCF_ERR_METADATA_LAYOUT_MISMATCH = auto()
OCF_ERR_CACHE_LINE_SIZE_MISMATCH = auto() OCF_ERR_CACHE_LINE_SIZE_MISMATCH = auto()
OCF_ERR_CACHE_STANDBY = auto()
OCF_ERR_FAILOVER_ATTACHED = auto()
class OcfCompletion: class OcfCompletion: