diff --git a/.github/workflows/kvrocks.yaml b/.github/workflows/kvrocks.yaml index a203f892d0d..4c24163265f 100644 --- a/.github/workflows/kvrocks.yaml +++ b/.github/workflows/kvrocks.yaml @@ -58,7 +58,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Check typos - uses: crate-ci/typos@v1.25.0 + uses: crate-ci/typos@v1.27.0 with: config: .github/config/typos.toml diff --git a/src/types/redis_json.h b/src/types/redis_json.h index 1a69408ee87..54831472dc1 100644 --- a/src/types/redis_json.h +++ b/src/types/redis_json.h @@ -86,7 +86,7 @@ class Json : public Database { private: rocksdb::Status write(engine::Context &ctx, Slice ns_key, JsonMetadata *metadata, const JsonValue &json_val); rocksdb::Status read(engine::Context &ctx, const Slice &ns_key, JsonMetadata *metadata, JsonValue *value); - static rocksdb::Status parse(const JsonMetadata &metadata, const Slice &json_byt, JsonValue *value); + static rocksdb::Status parse(const JsonMetadata &metadata, const Slice &json_byte, JsonValue *value); rocksdb::Status create(engine::Context &ctx, const std::string &ns_key, JsonMetadata &metadata, const std::string &value); rocksdb::Status del(engine::Context &ctx, const Slice &ns_key);