Fix value of op constant for syncSets
This commit is contained in:
1 parent
c2cd6febca
commit
dba7c6b531
1 file changed
+1
-1
@@ -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")
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user