Skip to content

Commit cf97512

Browse files
author
Martin PAUCOT
committed
change Itoa to FormatInt in tests
1 parent 626c940 commit cf97512

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ovh/resource_ovh_domain_zone_record_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ func testAccCheckOvhDomainZoneRecordExists(n string, record *OvhDomainZoneRecord
285285
return err
286286
}
287287

288-
if strconv.Itoa(record.Id) != rs.Primary.ID {
288+
if strconv.FormatInt(record.Id, 10) != rs.Primary.ID {
289289
return fmt.Errorf("Record not found")
290290
}
291291

0 commit comments

Comments
 (0)