@cryptotaxi247 / kubo / commits / 2cbf15108

Update deprecation message for Reprovider fields (#11072)

lbarrettanderson committed Nov 25, 2025 at 07:30 UTC 2cbf151085dbe1c7c2e7763e4edfed490320ade4
1 file changed +1 -1
cmd/ipfs/kubo/daemon.go
+1 -1
@@ -515,7 +515,7 @@ func daemonFunc(req *cmds.Request, re cmds.ResponseEmitter, env cmds.Environment
515 }
516 //nolint:staticcheck // intentionally checking deprecated fields
517 if !cfg.Reprovider.Interval.IsDefault() || !cfg.Reprovider.Strategy.IsDefault() {
518 - log.Fatal("Deprecated configuration detected. Manually migrate 'Reprovider' fields to 'Provide': Reprovider.Strategy -> Provide.Strategy, Reprovider.Interval -> Provide.Interval. Remove 'Reprovider' from your config. Documentation: https://github.com/ipfs/kubo/blob/master/docs/config.md#provide")
518 + log.Fatal("Deprecated configuration detected. Manually migrate 'Reprovider' fields to 'Provide': Reprovider.Strategy -> Provide.Strategy, Reprovider.Interval -> Provide.DHT.Interval. Remove 'Reprovider' from your config. Documentation: https://github.com/ipfs/kubo/blob/master/docs/config.md#provide")
519 }
520 // Check for deprecated "flat" strategy (should have been migrated to "all")
521 if cfg.Provide.Strategy.WithDefault("") == "flat" {