Skip to content

Commit

Permalink
Relax Content-Type expectation and bump version to 0.18.3 (#586)
Browse files Browse the repository at this point in the history
  • Loading branch information
ricky-galvao authored Apr 17, 2024
1 parent 925c3de commit 758ef51
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v0.18.2
v0.18.3
2 changes: 1 addition & 1 deletion deploy/terraform/aws/lambda/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ variable "buz_image_repo" {
variable "buz_version" {
description = "The version of Buz to run."
type = string
default = "v0.18.2"
default = "v0.18.3"
}

variable "buz_lambda_memory_limit" {
Expand Down
2 changes: 1 addition & 1 deletion deploy/terraform/gcp/cloud_run/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ variable "buz_domain" {
variable "buz_version" {
description = "The version of Buz to run."
type = string
default = "v0.18.2"
default = "v0.18.3"
}

variable "buz_service_timeout_seconds" {
Expand Down
2 changes: 1 addition & 1 deletion examples/quickstart/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ x-dependency:
services:
buz:
container_name: buz
image: ghcr.io/silverton-io/buz:v0.18.2
image: ghcr.io/silverton-io/buz:v0.18.3
volumes:
- type: bind
source: ./buz/quickstart.conf.yml
Expand Down
2 changes: 1 addition & 1 deletion pkg/protocol/webhook/input.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func (i *WebhookInput) Initialize(routerGroup *gin.RouterGroup, manifold *manifo

func (i *WebhookInput) Handler(m manifold.Manifold, conf config.Config, metadata *meta.CollectorMeta) gin.HandlerFunc {
fn := func(c *gin.Context) {
if c.ContentType() == "application/json" {
if c.ContentType() == "application/json" || c.ContentType() == "text/html" {
envelopes := i.EnvelopeBuilder(c, &conf, metadata)
err := m.Enqueue(envelopes)
if err != nil {
Expand Down

0 comments on commit 758ef51

Please sign in to comment.