From 22349896cd60e9c0e933b29bd77726df6651f8b4 Mon Sep 17 00:00:00 2001 From: Guillermo Gutierrez Almazor Date: Thu, 25 Jan 2024 08:57:12 +0100 Subject: [PATCH] Cleanup: fix spelling --- dnsimple/dns_analytics.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dnsimple/dns_analytics.go b/dnsimple/dns_analytics.go index e0639d1..e967af6 100644 --- a/dnsimple/dns_analytics.go +++ b/dnsimple/dns_analytics.go @@ -39,7 +39,7 @@ type DnsAnalyticsResponse struct { Query DnsAnalyticsQueryParameters `json:"query"` } -func (r *DnsAnalyticsResponse) marshallData() { +func (r *DnsAnalyticsResponse) marshalData() { list := make([]DnsAnalytics, len(r.Rows)) for i, row := range r.Rows { @@ -78,6 +78,6 @@ func (s *DnsAnalyticsService) Query(ctx context.Context, accountID string, optio } dnsAnalyticsResponse.HTTPResponse = resp - dnsAnalyticsResponse.marshallData() + dnsAnalyticsResponse.marshalData() return dnsAnalyticsResponse, nil }