Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
Signed-off-by: Bartosz Slawianowski <bartosz.slawianowski@natzka.com>
  • Loading branch information
eplightning committed May 10, 2024
1 parent c180fef commit 0f6eaa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/issuer/acme/dns/azuredns/azuredns.go
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ func (c *DNSProvider) updateTXTRecord(ctx context.Context, fqdn string, updater
resp, err := c.recordClient.Get(ctx, c.resourceGroupName, zone, name, dns.RecordTypeTXT, nil)
if err != nil {
var respErr *azcore.ResponseError
if errors.As(err, &respErr); respErr.StatusCode == 404 {
if errors.As(err, &respErr); respErr.StatusCode == http.StatusNotFound {
set = &dns.RecordSet{
Properties: &dns.RecordSetProperties{
TTL: to.Ptr(int64(60)),
Expand Down

0 comments on commit 0f6eaa9

Please sign in to comment.