mirror of
https://github.com/adnanh/webhook.git
synced 2025-06-18 18:42:28 +00:00
add ability to stream command output as a response
This commit is contained in:
parent
2a36f24269
commit
afd20c569e
3 changed files with 44 additions and 9 deletions
|
@ -58,7 +58,7 @@ func TestStaticParams(t *testing.T) {
|
|||
ID: "test",
|
||||
Headers: spHeaders,
|
||||
}
|
||||
_, err = handleHook(spHook, r)
|
||||
_, err = handleHook(spHook, r, nil)
|
||||
if err != nil {
|
||||
t.Fatalf("Unexpected error: %v\n", err)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue