Skip to content
This repository has been archived by the owner on Dec 23, 2024. It is now read-only.

Commit

Permalink
NewCallRequest signature fixed (#82)
Browse files Browse the repository at this point in the history
Co-authored-by: Maksim Konovalov <maksim.konovalov@vk.team>
  • Loading branch information
KaymeKaydex and Maksim Konovalov authored Sep 23, 2024
1 parent 713bc17 commit 22bed02
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## v1.0.1

BUG FIXES:
* fix invalid go-tarantool backward compatibility: NewCallRequest not method of router.

## 1.0.0

BUG FIXES:
Expand Down
2 changes: 1 addition & 1 deletion sugar.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ type CallResponse struct {
}

// NewCallRequest returns a new empty CallRequest.
func (r *Router) NewCallRequest(function string) *CallRequest {
func NewCallRequest(function string) *CallRequest {
req := new(CallRequest)
req.fnc = function
return req
Expand Down

0 comments on commit 22bed02

Please sign in to comment.