attempt to ignore missing go.sum requirements

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2024-01-25 23:19:51 -06:00
parent 45e7aab862
commit 2aed84cf3a
1 changed files with 7 additions and 3 deletions

View File

@ -355,9 +355,13 @@ func (rs *RepoStatus) CheckGoSum() (bool, string) {
if strings.HasSuffix(depname, "/v2") {
log.Log(WARN, " FOUND /v2 wierd golang stuff. instead, look for:", depname)
}
// log.Log(WARN, " go get -v", depname)
// rs.RunCmd([]string{"go", "get", "-v", depname})
return false, depname
// only fail on our stuff
if strings.HasPrefix(depname, "go.wit.com") {
// log.Log(WARN, " go get -v", depname)
// rs.RunCmd([]string{"go", "get", "-v", depname})
return false, depname
}
log.Log(WARN, " NOT FOUND BUT IGNORING FOR NOW")
}
}
return true, ""