fix query param
This commit is contained in:
parent
5693529216
commit
0177dd4ce0
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ func (n *HttpStore) Get(hash string) (stream.Blob, shared.BlobTrace, error) {
|
||||||
start := time.Now()
|
start := time.Now()
|
||||||
url := n.upstream + "/blob?hash=" + hash
|
url := n.upstream + "/blob?hash=" + hash
|
||||||
if n.edgeToken != "" {
|
if n.edgeToken != "" {
|
||||||
url += "&token=" + n.edgeToken
|
url += "&edge_token=" + n.edgeToken
|
||||||
}
|
}
|
||||||
|
|
||||||
req, err := http.NewRequest("GET", url, nil)
|
req, err := http.NewRequest("GET", url, nil)
|
||||||
|
|
Loading…
Reference in a new issue