Skip to content

Commit dcb0047

Browse files
use linodego recordtype instead of plain string
Co-authored-by: Ashley Dumaine <5779804+AshleyDumaine@users.noreply.github.com>
1 parent 7932545 commit dcb0047

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cloud/services/domains.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ func (d *DNSEntries) getDNSEntriesToEnsure(mscope *scope.MachineScope) ([]DNSOpt
7676
domainHostname := mscope.LinodeCluster.ObjectMeta.Name + "-" + mscope.LinodeCluster.Spec.Network.DNSUniqueIdentifier
7777

7878
for _, IPs := range mscope.LinodeMachine.Status.Addresses {
79-
recordType := "A"
79+
recordType := linodego.RecordTypeA
8080
if IPs.Type != "ExternalIP" {
8181
continue
8282
}

0 commit comments

Comments
 (0)