From c7565690e927ced8188a1e5b71b7be186d007a0b Mon Sep 17 00:00:00 2001 From: Myroslav Vivcharyk Date: Thu, 9 Jan 2025 00:08:32 +0100 Subject: [PATCH] feat(kafka_quota): changed request_percentage field to float type --- internal/sdkprovider/service/kafka/kafka_quota_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/sdkprovider/service/kafka/kafka_quota_test.go b/internal/sdkprovider/service/kafka/kafka_quota_test.go index 4016beb00..68c9bfd6f 100644 --- a/internal/sdkprovider/service/kafka/kafka_quota_test.go +++ b/internal/sdkprovider/service/kafka/kafka_quota_test.go @@ -94,7 +94,7 @@ resource "aiven_kafka_quota" "{{ .resource_name }}" { "request_percentage": 101, // invalid value }). MustRender(t), - ExpectError: regexp.MustCompile(`expected .+ to be in the range \(\d+ - \d+\), got \d+`), + ExpectError: regexp.MustCompile(`expected .+ to be in the range \([\d.]+ - [\d.]+\), got [\d.]+`), }, { // missing user and client_id