diff --git a/extern/sector-storage/sched_post.go b/extern/sector-storage/sched_post.go index a3d29d62e..cf22d5f93 100644 --- a/extern/sector-storage/sched_post.go +++ b/extern/sector-storage/sched_post.go @@ -81,7 +81,7 @@ func (ps *poStScheduler) Schedule(ctx context.Context, primary bool, spt abi.Reg defer ps.lk.Unlock() if len(ps.workers) == 0 { - return xerrors.Errorf("cant find %s post worker", ps.postType) + return xerrors.Errorf("can't find %s post worker", ps.postType) } // Get workers by resource @@ -120,7 +120,7 @@ type candidateWorker struct { func (ps *poStScheduler) readyWorkers(spt abi.RegisteredSealProof) (bool, []candidateWorker) { var accepts []candidateWorker - //if the gpus of the worker are insufficient or its disable, it cannot be scheduled + //if the gpus of the worker are insufficient or it's disabled, it cannot be scheduled for wid, wr := range ps.workers { needRes := wr.info.Resources.ResourceSpec(spt, ps.postType)