Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
highpon committed Oct 20, 2024
1 parent 1028d15 commit 8178431
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/index/job/deletion/service/deleter.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ func (idx *index) doDeleteIndex(
switch {
case errors.Is(err, context.Canceled):
err = status.WrapWithCanceled(
vald.RemoveRPCName+" API canceld", err,
vald.RemoveRPCName+" API canceled", err,
)
attrs = trace.StatusCodeCancelled(err.Error())
case errors.Is(err, context.DeadlineExceeded):
Expand Down
2 changes: 1 addition & 1 deletion pkg/index/job/deletion/usecase/deletion.go
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ func (r *run) Stop(ctx context.Context) (errs error) {
return errs
}

// PtopStop is a method called after execution of Stop.
// PostStop is a method called after execution of Stop.
func (*run) PostStop(_ context.Context) error {
return nil
}

0 comments on commit 8178431

Please sign in to comment.