ready to be switched to protobuf

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2024-11-03 03:07:44 -06:00
parent f85d3226e0
commit 50d4acb9c1
1 changed files with 2 additions and 2 deletions

View File

@ -107,10 +107,10 @@ func indexBodyRepo(w http.ResponseWriter, gourl string, giturl string, desc stri
tmp, _ := versionMap[gourl]
parts := strings.Split(tmp, " ")
if len(parts) > 0 {
version = parts[0]
vtime = parts[0]
}
if len(parts) > 1 {
vtime = parts[1]
version = parts[1]
}
if vtime != "" {