Vet/race fixes (#4421)
This addresses all found vet/race fixes in community edition. --------- Co-authored-by: Damian Debkowski <damian.debkowski@hashicorp.com>
This commit is contained in:
1 parent
4535af25aa
commit
014a5a7aae
46 files changed
+411
-176
No files matched your search
@@ -169,7 +169,7 @@ func TestService_ListHostSets(t *testing.T) {
|
||||
filterFunc := func(_ context.Context, s host.Set, plg *plugin.Plugin) (bool, error) {
|
||||
return true, nil
|
||||
}
|
||||
_, _, err = hostplugin.ListHostSetsPage(ctx, []byte("some hash"), 1, filterFunc, nil, repo, catalog.GetPublicId())
|
||||
_, _, err := hostplugin.ListHostSetsPage(ctx, []byte("some hash"), 1, filterFunc, nil, repo, catalog.GetPublicId())
|
||||
require.ErrorContains(t, err, "missing token")
|
||||
})
|
||||
t.Run("wrong token type", func(t *testing.T) {
|
||||
|
||||
Reference in new issue
Block a user