From c9b1d963a4fbe2539610446a22b1a5a93c73e9c7 Mon Sep 17 00:00:00 2001 From: Rene Zbinden Date: Mon, 11 Jan 2021 12:49:56 +0100 Subject: [PATCH] fix: change 'whatch' to 'watch' in job watch error message --- internal/plugin/plugin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/plugin/plugin.go b/internal/plugin/plugin.go index 00d2842..fffd34b 100644 --- a/internal/plugin/plugin.go +++ b/internal/plugin/plugin.go @@ -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 {