Skip to content

Commit

Permalink
Fix: remove __ERR_CODE_COUNT (#437)
Browse files Browse the repository at this point in the history
  • Loading branch information
NamelessOIer authored Mar 3, 2025
1 parent 806974e commit 3621bc2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion protos/PublicDefs.proto
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,6 @@ enum ErrCode {

ERR_MAX_JOB_COUNT_PER_USER = 65;
ERR_USER_NO_PRIVILEGE = 66;
__ERR_CODE_COUNT = 67;
}

enum EntityType {
Expand Down
2 changes: 1 addition & 1 deletion src/Utilities/PublicHeader/include/crane/PublicHeader.h
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ enum ExitCodeEnum : uint16_t {
} // namespace ExitCode

namespace Internal {
constexpr std::array<std::string_view, uint16_t(CraneErrCode::__ERR_CODE_COUNT)> CraneErrStrArr = {
constexpr std::array<std::string_view, uint16_t(crane::grpc::ErrCode_ARRAYSIZE)> CraneErrStrArr = {
// 0 - 4
"Success",

Expand Down

0 comments on commit 3621bc2

Please sign in to comment.