From 4c0a30784fb213a469ea2220d98bcfed1b8c8667 Mon Sep 17 00:00:00 2001 From: wanghui Date: Mon, 18 Nov 2019 11:00:31 +0800 Subject: [PATCH] fix typo --- build/paramfetch.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/paramfetch.go b/build/paramfetch.go index dba8171d7..b3cbb718c 100644 --- a/build/paramfetch.go +++ b/build/paramfetch.go @@ -87,12 +87,12 @@ func (ft *fetch) maybeFetchAsync(name string, info paramFile) { defer ft.fetchLk.Unlock() if err := doFetch(path, info); err != nil { - ft.errs = append(ft.errs, xerrors.Errorf("fetching file %s success: %w", path, err)) + ft.errs = append(ft.errs, xerrors.Errorf("fetching file %s failed: %w", path, err)) return } err = ft.checkFile(path, info) if err != nil { - ft.errs = append(ft.errs, xerrors.Errorf("fetching file %s failed: %w", path, err)) + ft.errs = append(ft.errs, xerrors.Errorf("checking file %s failed: %w", path, err)) err := os.Remove(path) if err != nil { ft.errs = append(ft.errs, xerrors.Errorf("remove file %s failed: %w", path, err))