Skip to content

Commit

Permalink
Fix: Linting issues in sink/http/http.go
Browse files Browse the repository at this point in the history
  • Loading branch information
vidosits committed Sep 24, 2023
1 parent 7e6542a commit 6382614
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion internal/eventing/sink/http/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ func init() {
sinkimpl.RegisterSink(config.Http, newHttpSink)
}

func basicAuth(username, password string) string {
func basicAuth(
username, password string,
) string {
auth := username + ":" + password
return base64.StdEncoding.EncodeToString([]byte(auth))
}
Expand Down

0 comments on commit 6382614

Please sign in to comment.