Skip to content

Commit

Permalink
chore: Correct dnsSubDomain value sent in the API request when empty …
Browse files Browse the repository at this point in the history
…in the configuration (#2925)
  • Loading branch information
oarbusi authored Jan 7, 2025
1 parent 06570e6 commit 4e15928
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion internal/service/streamprivatelinkendpoint/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ func NewAtlasReq(ctx context.Context, plan *TFModel) (*admin.StreamsPrivateLinkC

result := &admin.StreamsPrivateLinkConnection{
DnsDomain: plan.DnsDomain.ValueStringPointer(),
DnsSubDomain: &[]string{},
Provider: plan.Provider.ValueStringPointer(),
Region: plan.Region.ValueStringPointer(),
ServiceEndpointId: plan.ServiceEndpointId.ValueStringPointer(),
Expand Down
1 change: 0 additions & 1 deletion internal/service/streamprivatelinkendpoint/model_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,6 @@ func TestStreamPrivatelinkEndpointTFModelToSDK(t *testing.T) {
},
expectedSDKReq: &admin.StreamsPrivateLinkConnection{
DnsDomain: &dnsDomain,
DnsSubDomain: &[]string{},
Provider: &provider,
Region: &region,
ServiceEndpointId: &serviceEndpointID,
Expand Down

0 comments on commit 4e15928

Please sign in to comment.