vulnsrc/alpine: s/pull/clone
This commit is contained in:
parent
4c2be5285e
commit
c031f8ea0c
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user