vulnsrc/alpine: s/pull/clone

This commit is contained in:
Jimmy Zelinskie 2018-07-05 19:11:30 -04:00
parent 4c2be5285e
commit c031f8ea0c

View File

@ -194,7 +194,7 @@ func (u *updater) pullRepository() (commit string, err error) {
cmd.Dir = u.repositoryLocalPath cmd.Dir = u.repositoryLocalPath
if out, err := cmd.CombinedOutput(); err != nil { if out, err := cmd.CombinedOutput(); err != nil {
u.Clean() u.Clean()
log.WithError(err).WithField("output", string(out)).Error("could not pull alpine-secdb repository") log.WithError(err).WithField("output", string(out)).Error("could not clone alpine-secdb repository")
return "", commonerr.ErrCouldNotDownload return "", commonerr.ErrCouldNotDownload
} }
} else { } else {