mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 17:08:53 +00:00
Fix string(int) issues for Go 1.15 compatibility (#2286)
This commit is contained in:
parent
c2d8dccb8d
commit
b67cfc479b
1 changed files with 1 additions and 1 deletions
|
|
@ -19,7 +19,7 @@ func testLabels(t *testing.T, db kolide.Datastore) {
|
|||
var host *kolide.Host
|
||||
var err error
|
||||
for i := 0; i < 10; i++ {
|
||||
host, err = db.EnrollHost(string(i), string(i), "default")
|
||||
host, err = db.EnrollHost(fmt.Sprint(i), fmt.Sprint(i), "default")
|
||||
require.Nil(t, err, "enrollment should succeed")
|
||||
hosts = append(hosts, *host)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue