Skip to content

Commit

Permalink
fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
TimothyYe committed Oct 21, 2023
1 parent 4c4b451 commit 935c982
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions internal/provider/scaleway/scaleway_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,8 @@ func (provider *DNSProvider) getRecordType() (string, error) {
return utils.IPTypeA, nil
} else if strings.ToUpper(provider.configuration.IPType) == utils.IPV6 {
return utils.IPTypeAAAA, nil
} else {
return "", errors.New("must specify \"ip_type\" in config for Scaleway")
}
return "", errors.New("must specify \"ip_type\" in config for Scaleway")
}

// updateIP update subdomain with current IP.
Expand Down

0 comments on commit 935c982

Please sign in to comment.