Skip to content

Commit

Permalink
fix(tairts.go): Fix incorrect Tair command invocation in ExTsRawIncr …
Browse files Browse the repository at this point in the history
…and ExTsRawIncrArgs functions
  • Loading branch information
haochenye committed Nov 7, 2024
1 parent 423dd78 commit 61bd71f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tair/tairts.go
Original file line number Diff line number Diff line change
Expand Up @@ -902,7 +902,7 @@ func (tc tairCmdable) ExTsMRawModifyArgs(ctx context.Context, pKey string, sKeys

func (tc tairCmdable) ExTsRawIncr(ctx context.Context, pKey string, sKey string, ts string, value float64) *redis.StringCmd {
a := make([]interface{}, 5)
a[0] = "EXTS.S.RAW_MODIFY"
a[0] = "EXTS.S.RAW_INCRBY"
a[1] = pKey
a[2] = sKey
a[3] = ts
Expand All @@ -914,7 +914,7 @@ func (tc tairCmdable) ExTsRawIncr(ctx context.Context, pKey string, sKey string,

func (tc tairCmdable) ExTsRawIncrArgs(ctx context.Context, pKey string, sKey string, ts string, value float64, args *ExTsAttributeArgs) *redis.StringCmd {
a := make([]interface{}, 5)
a[0] = "EXTS.S.RAW_MODIFY"
a[0] = "EXTS.S.RAW_INCRBY"
a[1] = pKey
a[2] = sKey
a[3] = ts
Expand Down

0 comments on commit 61bd71f

Please sign in to comment.