From dd65e9b89d0d3f341f814ddf5ae9a9a03c6df2f0 Mon Sep 17 00:00:00 2001 From: Sylvain Rabot Date: Thu, 10 Dec 2020 11:00:54 +0100 Subject: [PATCH] Fix typo Signed-off-by: Sylvain Rabot --- pkg/manifestgen/install/manifests.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/manifestgen/install/manifests.go b/pkg/manifestgen/install/manifests.go index b1b73c19..5a0a556b 100644 --- a/pkg/manifestgen/install/manifests.go +++ b/pkg/manifestgen/install/manifests.go @@ -51,12 +51,12 @@ func fetch(ctx context.Context, url, version, dir string) error { // check response if resp.StatusCode != http.StatusOK { - return fmt.Errorf("faild to download manifests.tar.gz from %s, status: %s", ghURL, resp.Status) + return fmt.Errorf("failed to download manifests.tar.gz from %s, status: %s", ghURL, resp.Status) } // extract if _, err = untar.Untar(resp.Body, dir); err != nil { - return fmt.Errorf("faild to untar manifests.tar.gz from %s, error: %w", ghURL, err) + return fmt.Errorf("failed to untar manifests.tar.gz from %s, error: %w", ghURL, err) } return nil