Skip to content
This repository has been archived by the owner on May 8, 2023. It is now read-only.

Commit

Permalink
fix: change 'whatch' to 'watch' in job watch error message
Browse files Browse the repository at this point in the history
  • Loading branch information
zbindenren committed Jan 11, 2021
1 parent 37bdf5d commit c9b1d96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/plugin/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ func (o *SyncOptions) Run() error {
case e := <-watch.ResultChan():
j, ok := e.Object.(*batchv1.Job)
if !ok {
return errors.New("unexpected whatch type")
return errors.New("unexpected watch type")
}

if j.Status.Succeeded > 0 {
Expand Down

0 comments on commit c9b1d96

Please sign in to comment.