Skip to content

Commit

Permalink
chore: bump go version in go.mod
Browse files Browse the repository at this point in the history
  • Loading branch information
Rambatino committed Jul 26, 2024
1 parent 4a4a49e commit 723b961
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion axiom/resource_notifier.go
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ func extractNotifier(ctx context.Context, plan NotifierResourceModel) (*axiom.No
if diags.HasError() {
return nil, diags
}
notifier.Properties.CustomWebhook = &axiom.CustomWebhookConfig{
notifier.Properties.CustomWebhook = &axiom.CustomWebhook{
URL: plan.Properties.CustomWebhook.URL.ValueString(),
Headers: headers,
Body: plan.Properties.CustomWebhook.Body.ValueString(),
Expand Down
8 changes: 4 additions & 4 deletions axiom/resource_notifier_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,10 @@ func TestNotifiers(t *testing.T) {
EOF`+`
} }`),
Check: resource.ComposeTestCheckFunc(
testAccCheckResourcesCreatesCorrectValues(client, "axiom_notifier.custom_webhook", "properties.custom_webhook.url", "properties.customWebhook.url"),
testAccCheckResourcesCreatesCorrectValues(client, "axiom_notifier.custom_webhook", "properties.custom_webhook.headers.Authorization", "properties.customWebhook.headers.Authorization"),
testAccCheckResourcesCreatesCorrectValues(client, "axiom_notifier.custom_webhook", "properties.custom_webhook.headers.Content-Type", "properties.customWebhook.headers.Content-Type"),
testAccCheckResourcesCreatesCorrectValues(client, "axiom_notifier.custom_webhook", "properties.custom_webhook.body", "properties.customWebhook.body"),
testAccCheckResourcesCreatesCorrectValues(client, "axiom_notifier.custom_webhook", "properties.custom_webhook.url", "properties.customWebhook.URL"),
testAccCheckResourcesCreatesCorrectValues(client, "axiom_notifier.custom_webhook", "properties.custom_webhook.headers.Authorization", "properties.customWebhook.Headers.Authorization"),
testAccCheckResourcesCreatesCorrectValues(client, "axiom_notifier.custom_webhook", "properties.custom_webhook.headers.Content-Type", "properties.customWebhook.Headers.Content-Type"),
testAccCheckResourcesCreatesCorrectValues(client, "axiom_notifier.custom_webhook", "properties.custom_webhook.body", "properties.customWebhook.Body"),
),
},
},
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module terraform-provider-axiom-provider

go 1.22.3
go 1.22.5

require (
github.com/axiomhq/axiom-go v0.20.0
Expand Down

0 comments on commit 723b961

Please sign in to comment.