Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Andrew Carbonetto <[email protected]>
Co-authored-by: jonathanl-bq <[email protected]>
Signed-off-by: Yury-Fridlyand <[email protected]>
  • Loading branch information
3 people committed Sep 12, 2024
1 parent dde0f7f commit 8b29313
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#### Changes
* Node: Added `invokeScript` API for cluster client ([#2284](https://github.com/valkey-io/valkey-glide/pull/2284))
* Node: Added `invokeScript` API with routing for cluster client ([#2284](https://github.com/valkey-io/valkey-glide/pull/2284))
* Python: Replace instances of Redis with Valkey ([#2266](https://github.com/valkey-io/valkey-glide/pull/2266))
* Java: Replace instances of Redis with Valkey ([#2268](https://github.com/valkey-io/valkey-glide/pull/2268))
* Node: Replace instances of Redis with Valkey ([#2260](https://github.com/valkey-io/valkey-glide/pull/2260))
Expand Down
2 changes: 1 addition & 1 deletion node/src/GlideClusterClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1443,7 +1443,7 @@ export class GlideClusterClient extends BaseClient {
}

/**
* Invokes a Lua script with its keys and arguments.
* Invokes a Lua script with arguments.
* This method simplifies the process of invoking scripts on a Valkey server by using an object that represents a Lua script.
* The script loading, argument preparation, and execution will all be handled internally. If the script has not already been loaded,
* it will be loaded automatically using the `SCRIPT LOAD` command. After that, it will be invoked using the `EVALSHA` command.
Expand Down
3 changes: 2 additions & 1 deletion node/tests/GlideClusterClient.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1488,8 +1488,9 @@ describe("GlideClusterClient", () => {
client.close();
}
});

it(
"invoke script invokeScript %p",
"invoke script with route invokeScriptWithRoute %p",
async () => {
const client =
await GlideClusterClient.createClient(
Expand Down

0 comments on commit 8b29313

Please sign in to comment.