From d66e82750c5636c5674e66cbb6597c0a74bf3704 Mon Sep 17 00:00:00 2001 From: Aleks Lozovyuk Date: Mon, 4 Nov 2024 13:35:39 +0200 Subject: [PATCH] ci: update crate-ci/typos to 1.27.0 (#2645) --- .github/workflows/kvrocks.yaml | 2 +- src/types/redis_json.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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);