Skip to content

Commit 0139697

Browse files
authored
Merge pull request #233 from whywaita/fix/232
Don't store error when ErrInvalidLabel
2 parents 89a0bf7 + ddd2e30 commit 0139697

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/starter/starter.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,7 @@ func (s *Starter) ProcessJob(ctx context.Context, job datastore.Job) error {
223223
if err := incrementDeleteJobMap(job); err != nil {
224224
return fmt.Errorf("failed to increment delete metrics: %w", err)
225225
}
226+
return nil
226227
}
227228

228229
if err := datastore.UpdateTargetStatus(ctx, s.ds, job.TargetID, datastore.TargetStatusErr, fmt.Sprintf("failed to create an instance (job ID: %s)", job.UUID)); err != nil {

0 commit comments

Comments
 (0)