Skip to content

Commit 7892efa

Browse files
authored
DNSv2: Fixing unit test (gophercloud#1564)
1 parent 844afee commit 7892efa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

openstack/dns/v2/recordsets/testing/requests_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,9 @@ func TestUpdate(t *testing.T) {
110110
HandleUpdateSuccessfully(t)
111111

112112
var description = "Updated description"
113+
ttl := 0
113114
updateOpts := recordsets.UpdateOpts{
114-
TTL: 0,
115+
TTL: &ttl,
115116
Description: &description,
116117
Records: []string{"10.1.0.2", "10.1.0.3"},
117118
}

0 commit comments

Comments
 (0)