Commit 1ce1a19a authored by Mustafa Gezen's avatar Mustafa Gezen
Browse files

since lookaside is essentialy a CAS, disable namespacing

parent db7390bc
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment