From 1406961e8cffe186fec1313c1375384c5a7acfbb Mon Sep 17 00:00:00 2001 From: runzexia Date: Tue, 8 Oct 2019 15:18:04 +0800 Subject: [PATCH] fix typo Signed-off-by: runzexia --- pkg/controller/s2irun/s2irun_controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/controller/s2irun/s2irun_controller.go b/pkg/controller/s2irun/s2irun_controller.go index def2d436a..91e35e08b 100644 --- a/pkg/controller/s2irun/s2irun_controller.go +++ b/pkg/controller/s2irun/s2irun_controller.go @@ -271,7 +271,7 @@ func (c *S2iRunController) cleanOtherS2iBinary(namespace string) error { err = c.devopsClient.DevopsV1alpha1().S2iBinaries(namespace).Delete(s2iBin.Name, nil) if err != nil { if errors.IsNotFound(err) { - klog.Info(fmt.Sprintf("s2ibin '%s/%s' has been delted ", namespace, s2iBin.Name)) + klog.Info(fmt.Sprintf("s2ibin '%s/%s' has been deleted ", namespace, s2iBin.Name)) return nil } klog.Error(err, fmt.Sprintf("failed to delete s2ibin %s/%s ", namespace, s2iBin.Name))