Skip to content

Commit 73428c3

Browse files
committed
NEW-772 fix
1 parent 600216b commit 73428c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sdk/client.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ func (s *SOAP4Client) Call(soapUrl, soapAction, messageId string, query, reply i
341341
savebuf := buffer.Bytes()
342342

343343
//support.LogsPush(attr, savebuf)
344-
err := cli.Hooks.Fire("log_request", soapAction, string(savebuf))
344+
err := cli.Hooks.Fire("agent", soapAction, string(savebuf))
345345
if err != nil {
346346
fmt.Fprintf(os.Stderr, "Failed to fire hook log_request: %v\n", err)
347347
}
@@ -404,7 +404,7 @@ func (s *SOAP4Client) Call(soapUrl, soapAction, messageId string, query, reply i
404404
//attrResponse := *attr
405405
//attrResponse.Layer = receiver.Layer4
406406
//support.LogsPush(&attrResponse, rawbody)
407-
err = cli.Hooks.Fire("log_response", soapAction, string(rawbody))
407+
err = cli.Hooks.Fire("provider", soapAction, string(rawbody))
408408
if err != nil {
409409
fmt.Fprintf(os.Stderr, "Failed to fire hook log_response: %v\n", err)
410410
}

0 commit comments

Comments
 (0)