summaryrefslogtreecommitdiff
path: root/tests/plugins/server/plugin_tcp.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-07-22 14:26:13 +0300
committerValery Piashchynski <[email protected]>2021-07-22 14:26:13 +0300
commitfedf012e632a31d2d0837c22832c7683547ad379 (patch)
treebcb5634dfacccc6d34e49aa7337ac8d1f18b693c /tests/plugins/server/plugin_tcp.go
parent609e61426b137834ac589c88f1124574f939fa67 (diff)
BC for the Pool, worker interfaces, pass/return payload by pointer
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'tests/plugins/server/plugin_tcp.go')
-rw-r--r--tests/plugins/server/plugin_tcp.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/plugins/server/plugin_tcp.go b/tests/plugins/server/plugin_tcp.go
index ef4cea39..57a2e6ea 100644
--- a/tests/plugins/server/plugin_tcp.go
+++ b/tests/plugins/server/plugin_tcp.go
@@ -30,7 +30,7 @@ func (f *Foo3) Serve() chan error {
conf := &server.Config{}
// test payload for echo
- r := payload.Payload{
+ r := &payload.Payload{
Context: nil,
Body: []byte(Response),
}