Add repository and functions around plugin host set membership (#1629)

Co-authored-by: Todd <T.Alan.Knight@gmail.com>
This commit is contained in:
Jeff MitchellandTodd authored and GitHub committed 2021-10-28 10:09:43 -04:00
1 parent b1a72bd445
commit b64761f38f
23 files changed
+1392 -286

No files matched your search

+1 -1
View File
@@ -648,7 +648,7 @@ func (r *Repository) Endpoints(ctx context.Context, setIds []string) ([]*host.En
if _, ok := hostIds[hostId]; !ok {
hostIds[hostId] = true
host := newHost(ctx, ci.publicId, addr)
host := NewHost(ctx, ci.publicId, addr)
host.PublicId = hostId
hosts = append(hosts, host)
}