Add host IDs to plugin host sets read response (#1568)

This also includes tweaks here and there within the service and repos.
This commit is contained in:
Jeff Mitchell authored and GitHub committed 2021-09-28 16:19:32 -04:00
1 parent 7d71618df0
commit 8b1ca4b0b8
7 files changed
+269 -43

No files matched your search

@@ -352,7 +352,7 @@ func TestRepository_LookupSet(t *testing.T) {
repo, err := NewRepository(rw, rw, kms, plgm)
assert.NoError(err)
require.NotNil(repo)
got, _, err := repo.LookupSet(ctx, tt.in)
got, _, _, err := repo.LookupSet(ctx, tt.in)
if tt.wantIsErr != 0 {
assert.Truef(errors.Match(errors.T(tt.wantIsErr), err), "want err: %q got: %q", tt.wantIsErr, err)
assert.Nil(got)