From 0740994604e4e295e9a58c63d2f1c81b87bed86f Mon Sep 17 00:00:00 2001 From: Justin Chadwell Date: Wed, 17 Jan 2024 14:10:43 +0000 Subject: [PATCH] chore: fix minor typos in scheduler_test.go Signed-off-by: Justin Chadwell --- solver/scheduler_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/solver/scheduler_test.go b/solver/scheduler_test.go index 794979130..9b4ecb7e2 100644 --- a/solver/scheduler_test.go +++ b/solver/scheduler_test.go @@ -3560,7 +3560,7 @@ func (v *vertexConst) Acquire(ctx context.Context) (ReleaseFunc, error) { return func() {}, nil } -// vtxSum returns a vertex that ourputs sum of its inputs plus a constant +// vtxSum returns a vertex that outputs sum of its inputs plus a constant func vtxSum(v int, opt vtxOpt) *vertexSum { if opt.cacheKeySeed == "" { opt.cacheKeySeed = fmt.Sprintf("sum-%d-%d", v, len(opt.inputs)) @@ -3601,7 +3601,7 @@ func (v *vertexSum) Acquire(ctx context.Context) (ReleaseFunc, error) { func vtxSubBuild(g Edge, opt vtxOpt) *vertexSubBuild { if opt.cacheKeySeed == "" { - opt.cacheKeySeed = fmt.Sprintf("sum-%s", identity.NewID()) + opt.cacheKeySeed = fmt.Sprintf("sub-%s", identity.NewID()) } if opt.name == "" { opt.name = opt.cacheKeySeed + "-" + identity.NewID()