Skip to content

Commit e91514c

Browse files
authored
Fix unexpected whitespace of the command catalogs in several Redis plugins. (#480)
1 parent d357bde commit e91514c

File tree

4 files changed

+34
-33
lines changed

4 files changed

+34
-33
lines changed

CHANGES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ Release Notes.
2121
* Fix tomcat-10x-plugin and add test case to support tomcat7.x-8.x-9.x.
2222
* Fix thrift plugin generate duplicate traceid when `sendBase` error occurs
2323
* Support keep trace profiling when cross-thread.
24+
* Fix unexpected whitespace of the command catalogs in several Redis plugins.
2425

2526
#### Documentation
2627
* Update docs of Tracing APIs, reorganize the API docs into six parts.

apm-sniffer/apm-sdk-plugin/jedis-plugins/jedis-2.x-3.x-plugin/src/main/java/org/apache/skywalking/apm/plugin/jedis/v3/JedisPluginConfig.java

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -51,22 +51,22 @@ public static class Jedis {
5151
"getset",
5252
"set",
5353
"setbit",
54-
"setex ",
55-
"setnx ",
54+
"setex",
55+
"setnx",
5656
"setrange",
57-
"strlen ",
57+
"strlen",
5858
"mset",
59-
"msetnx ",
59+
"msetnx",
6060
"psetex",
61-
"incr ",
62-
"incrby ",
61+
"incr",
62+
"incrby",
6363
"incrbyfloat",
64-
"decr ",
65-
"decrby ",
66-
"append ",
64+
"decr",
65+
"decrby",
66+
"append",
6767
"hmset",
6868
"hset",
69-
"hsetnx ",
69+
"hsetnx",
7070
"hincrby",
7171
"hincrbyfloat",
7272
"hdel",
@@ -118,7 +118,7 @@ public static class Jedis {
118118
*/
119119
public static Set<String> OPERATION_MAPPING_READ = new HashSet<>(Arrays.asList(
120120
"getrange",
121-
"getbit ",
121+
"getbit",
122122
"mget",
123123
"hvals",
124124
"hkeys",

apm-sniffer/apm-sdk-plugin/jedis-plugins/jedis-4.x-plugin/src/main/java/org/apache/skywalking/apm/plugin/jedis/v4/JedisPluginConfig.java

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -52,22 +52,22 @@ public static class Jedis {
5252
"getset",
5353
"set",
5454
"setbit",
55-
"setex ",
56-
"setnx ",
55+
"setex",
56+
"setnx",
5757
"setrange",
58-
"strlen ",
58+
"strlen",
5959
"mset",
60-
"msetnx ",
60+
"msetnx",
6161
"psetex",
62-
"incr ",
63-
"incrby ",
62+
"incr",
63+
"incrby",
6464
"incrbyfloat",
65-
"decr ",
66-
"decrby ",
67-
"append ",
65+
"decr",
66+
"decrby",
67+
"append",
6868
"hmset",
6969
"hset",
70-
"hsetnx ",
70+
"hsetnx",
7171
"hincrby",
7272
"hincrbyfloat",
7373
"hdel",
@@ -119,7 +119,7 @@ public static class Jedis {
119119
*/
120120
public static Set<String> OPERATION_MAPPING_READ = new HashSet<>(Arrays.asList("get",
121121
"getrange",
122-
"getbit ",
122+
"getbit",
123123
"mget",
124124
"hvals",
125125
"hkeys",

apm-sniffer/apm-sdk-plugin/lettuce-5.x-plugin/src/main/java/org/apache/skywalking/apm/plugin/lettuce/v5/LettucePluginConfig.java

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -52,22 +52,22 @@ public static class Lettuce {
5252
"getset",
5353
"set",
5454
"setbit",
55-
"setex ",
56-
"setnx ",
55+
"setex",
56+
"setnx",
5757
"setrange",
58-
"strlen ",
58+
"strlen",
5959
"mset",
60-
"msetnx ",
60+
"msetnx",
6161
"psetex",
62-
"incr ",
63-
"incrby ",
62+
"incr",
63+
"incrby",
6464
"incrbyfloat",
65-
"decr ",
66-
"decrby ",
67-
"append ",
65+
"decr",
66+
"decrby",
67+
"append",
6868
"hmset",
6969
"hset",
70-
"hsetnx ",
70+
"hsetnx",
7171
"hincrby",
7272
"hincrbyfloat",
7373
"hdel",
@@ -119,7 +119,7 @@ public static class Lettuce {
119119
*/
120120
public static Set<String> OPERATION_MAPPING_READ = new HashSet<>(Arrays.asList(
121121
"getrange",
122-
"getbit ",
122+
"getbit",
123123
"mget",
124124
"hvals",
125125
"hkeys",

0 commit comments

Comments
 (0)