mirror of
https://github.com/rocky-linux/srpmproc.git
synced 2024-12-04 18:36:26 +00:00
since lookaside is essentialy a CAS, disable namespacing
This commit is contained in:
parent
db7390bc51
commit
1ce1a19a4f
@ -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 New Issue
Block a user