X-Git-Url: http://www.git.cypherpunks.ru/?p=gocheese.git;a=blobdiff_plain;f=integrity.go;h=7ca0a0c07ce22de4649afbb12d08fcf0d3e10e83;hp=882934891ae5501922286bd832bc4877a5b2f624;hb=cb0449b3d3da2498e360098694a556c882d454bd;hpb=0d804c602fbc55f58d04fa9657950f3a6aac6d81 diff --git a/integrity.go b/integrity.go index 8829348..7ca0a0c 100644 --- a/integrity.go +++ b/integrity.go @@ -1,6 +1,6 @@ /* GoCheese -- Python private package repository and caching proxy -Copyright (C) 2019-2020 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() }