Fix value of op constant for syncSets

This commit is contained in:
Todd Knight committed 2021-11-11 08:29:13 -07:00
1 parent c2cd6febca
commit dba7c6b531
1 file changed
+1 -1
+1 -1
View File
@@ -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")
}