X-Git-Url: http://www.git.cypherpunks.ru/?p=gocheese.git;a=blobdiff_plain;f=integrity.go;h=7ca0a0c07ce22de4649afbb12d08fcf0d3e10e83;hp=a96d80edb1849058c3f8a6c51f8855c2d007c7e1;hb=cb0449b3d3da2498e360098694a556c882d454bd;hpb=11d218004e3a2668985a6d9b2628cb4b3fdc0051 diff --git a/integrity.go b/integrity.go index a96d80e..7ca0a0c 100644 --- a/integrity.go +++ b/integrity.go @@ -1,6 +1,6 @@ /* GoCheese -- Python private package repository and caching proxy -Copyright (C) 2019 Sergey Matveev +Copyright (C) 2019-2021 Sergey Matveev This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -61,10 +61,10 @@ func goodIntegrity() bool { log.Fatal(err) } if bytes.Compare(hasher.Sum(digest[:0]), data) == 0 { - fmt.Println(pkgName, "GOOD") + fmt.Println("GOOD", pkgName) } else { isGood = false - fmt.Println(pkgName, "BAD") + fmt.Println("BAD", pkgName) } hasher.Reset() }