From ae4c383d02de34a081e058a404863b618cb4cf13 Mon Sep 17 00:00:00 2001 From: Thomas Falkenberg <152178147+tfalkenberg1@users.noreply.github.com> Date: Tue, 30 Jan 2024 09:20:00 +0100 Subject: [PATCH] Update internal/sdkv2provider/data_source_record.go removing empty line Co-authored-by: Jacob Bednarz --- internal/sdkv2provider/data_source_record.go | 1 - 1 file changed, 1 deletion(-) diff --git a/internal/sdkv2provider/data_source_record.go b/internal/sdkv2provider/data_source_record.go index 209de2053f..4852dc1952 100644 --- a/internal/sdkv2provider/data_source_record.go +++ b/internal/sdkv2provider/data_source_record.go @@ -102,7 +102,6 @@ func dataSourceCloudflareRecordRead(ctx context.Context, d *schema.ResourceData, if len(records) != 1 && !contains([]string{"MX", "URI"}, searchRecord.Type) { return diag.Errorf("only wanted 1 DNS record. Got %d records", len(records)) - } else { var p uint16 if priority, ok := d.GetOkExists("priority"); ok {