fix: typo in migration error

This commit is contained in:
Marcin Rataj 2021-05-31 23:42:30 +02:00 committed by Adin Schmahmann
parent 9c8b1019e5
commit 041de2aed1

View File

@ -458,7 +458,7 @@ func daemonFunc(req *cmds.Request, re cmds.ResponseEmitter, env cmds.Environment
if cacheMigrations || pinMigrations {
err = addMigrations(cctx.Context(), node, fetcher, pinMigrations)
if err != nil {
fmt.Fprintln(os.Stderr, "Could not add migragion to IPFS:", err)
fmt.Fprintln(os.Stderr, "Could not add migration to IPFS:", err)
}
// Remove download directory so that it does not remain for lifetime of
// daemon or get left behind if daemon has a hard exit