From dba7c6b531277b7363c4bd87114f7ff0951b8c28 Mon Sep 17 00:00:00 2001 From: Todd Knight Date: Thu, 11 Nov 2021 08:29:13 -0700 Subject: [PATCH] Fix value of op constant for syncSets --- internal/host/plugin/job_set_sync.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/host/plugin/job_set_sync.go b/internal/host/plugin/job_set_sync.go index 2bc54ca37..3f7fd6cbf 100644 --- a/internal/host/plugin/job_set_sync.go +++ b/internal/host/plugin/job_set_sync.go @@ -174,7 +174,7 @@ func nextSync(j scheduler.Job) (time.Duration, error) { // syncSets retrieves from their plugins all the host and membership information // for the provided host sets and updates their values in the database. func (r *SetSyncJob) syncSets(ctx context.Context, setIds []string) error { - const op = "plugin.(Repository).Endpoints" + const op = "plugin.(SetSyncJob).syncSets" if len(setIds) == 0 { return errors.New(ctx, errors.InvalidParameter, op, "no set ids") }