Skip to content

Commit

Permalink
use string data in secret
Browse files Browse the repository at this point in the history
Signed-off-by: Somtochi Onyekwere <[email protected]>
  • Loading branch information
somtochiama committed Jan 26, 2022
1 parent 6b674b3 commit ac5cbe6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion config/samples/notification_v1beta1_provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,5 @@ kind: Secret
metadata:
name: generic-secret
data:
headers: QXV0aG9yaXphdGlvbjogdG9rZW4KWC1Gb3J3YXJkZWQtUHJvdG86IGh0dHBz
headers: |
Authorization: token
3 changes: 2 additions & 1 deletion tests/fuzz/forwarder_fuzzer.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ func FuzzForwarder(data []byte) int {
}))
defer ts.Close()

forwarder, err := NewForwarder(ts.URL, "", nil)
header := make(map[string]string)
forwarder, err := NewForwarder(ts.URL, "", header, nil)
if err != nil {
return 0
}
Expand Down

0 comments on commit ac5cbe6

Please sign in to comment.