fix copy pasta mistake

This commit is contained in:
Niko Storni 2021-07-22 04:09:16 +02:00
parent 2b458a6bd0
commit 170dfef3a8

View file

@ -31,7 +31,7 @@ func NewHttpStore(upstream string) *HttpStore {
const nameHttp = "http" const nameHttp = "http"
func (n *HttpStore) Name() string { return nameNoop } func (n *HttpStore) Name() string { return nameHttp }
func (n *HttpStore) Has(hash string) (bool, error) { func (n *HttpStore) Has(hash string) (bool, error) {
url := n.upstream + "/blob?hash=" + hash url := n.upstream + "/blob?hash=" + hash