mirror of https://github.com/kubernetes/kops.git
fix errors
This commit is contained in:
parent
769c02f87c
commit
54154e5378
|
@ -82,8 +82,9 @@ func (c *ResourceRecordChangeset) Apply() error {
|
|||
if err != nil {
|
||||
return err
|
||||
}
|
||||
ttl := int(upsert.Ttl())
|
||||
uopts := recordsets.UpdateOpts{
|
||||
TTL: int(upsert.Ttl()),
|
||||
TTL: &ttl,
|
||||
Records: upsert.Rrdatas(),
|
||||
}
|
||||
_, err = recordsets.Update(c.zone.zones.iface.sc, zoneID, rrID, uopts).Extract()
|
||||
|
|
Loading…
Reference in New Issue