mirror of
https://github.com/rocky-linux/srpmproc.git
synced 2025-01-07 08:50:56 +00:00
since lookaside is essentialy a CAS, disable namespacing
This commit is contained in:
parent
db7390bc51
commit
1ce1a19a4f
1 changed files with 1 additions and 3 deletions
|
@ -45,8 +45,6 @@ func runFetch(_ *cobra.Command, _ []string) {
|
|||
log.Fatal(err)
|
||||
}
|
||||
|
||||
name := strings.Split(metadataPath, ".")[1]
|
||||
|
||||
metadataFile, err := os.Open(metadataPath)
|
||||
if err != nil {
|
||||
log.Fatalf("could not open metadata file: %v", err)
|
||||
|
@ -72,7 +70,7 @@ func runFetch(_ *cobra.Command, _ []string) {
|
|||
hash := lineInfo[0]
|
||||
path := lineInfo[1]
|
||||
|
||||
url := fmt.Sprintf("%s/%s/%s", cdnUrl, name, hash)
|
||||
url := fmt.Sprintf("%s/%s", cdnUrl, hash)
|
||||
log.Printf("downloading %s", url)
|
||||
|
||||
req, err := http.NewRequest("GET", url, nil)
|
||||
|
|
Loading…
Reference in a new issue