working on update order

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2024-01-26 02:41:14 -06:00
parent 9f26bc2d44
commit 2723e53396
1 changed files with 4 additions and 0 deletions

View File

@ -345,6 +345,10 @@ func (rs *RepoStatus) CheckGoSum() (bool, string) {
log.Log(WARN, " username :"+username, userversion)
if version == userversion {
log.Log(WARN, " USER VERSIONS MATCH", version, userversion)
if newrs.goSumStatus.String() == "BAD" {
log.Log(WARN, " USER VERSION IS BAD!! return false")
return false, ""
}
} else {
log.Log(WARN, " USER VERSIONS MISMATCH", version, userversion)
return false, ""