Skip to content
Snippets Groups Projects
Commit 6bf34130 authored by Jeromy Johnson's avatar Jeromy Johnson
Browse files

fix for weird repo init issue

parent e9ee1a36
No related branches found
No related tags found
1 merge request!1New
......@@ -148,7 +148,9 @@ func InitializeKeyspace(ctx context.Context, ds dag.DAGService, pub Publisher, p
return err
}
err = pins.Pin(emptyDir, false)
// pin recursively because this might already be pinned
// and doing a direct pin would throw an error in that case
err = pins.Pin(emptyDir, true)
if err != nil {
return err
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment