Skip to content

Commit

Permalink
fix: failing tests and linter errors.
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Neudegg <andrew.neudegg@finbourne.com>
  • Loading branch information
AndrewNeudegg committed Dec 31, 2020
1 parent a427192 commit 778e86d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions pkg/relay/crypto/symetric_simple_test.go
Expand Up @@ -59,14 +59,12 @@ func TestCryptoErrIfKeyWrong(t *testing.T) {
func TestSmoke(t *testing.T) {
eN := SimpleSymmetricCryptoRelay{
Mode: "encrypt",
Password: "test-password-length",
HashPassword: true,
Password: "N7X92q5R2CFuP6utEZMrzsaJdDjECXwt",
}

dN := SimpleSymmetricCryptoRelay{
Mode: "decrypt",
Password: "test-password-length",
HashPassword: true,
Password: "N7X92q5R2CFuP6utEZMrzsaJdDjECXwt",
}

ch1 := make(chan events.Event)
Expand Down
2 changes: 1 addition & 1 deletion pkg/source/http/simple_http.go
Expand Up @@ -19,7 +19,7 @@ type httpSinkServerResponse struct {
ID string `json:"id"` // ID is the response ID for this accepted event.
}

// HttpSink is a http server.
// SimpleHTTPSink is a http server.
type SimpleHTTPSink struct {
source.S
ListenAddr string
Expand Down

0 comments on commit 778e86d

Please sign in to comment.