Revert "cmd/utils: do not check free disk space in dev mode (#27281)"

This reverts commit 066d94d37a.
This commit is contained in:
devopsbo3 2023-11-10 12:27:53 -06:00 committed by GitHub
parent 802bc4d238
commit ad2a8e618d

View file

@ -118,9 +118,6 @@ func StartNode(ctx *cli.Context, stack *node.Node, isConsole bool) {
}
func monitorFreeDiskSpace(sigc chan os.Signal, path string, freeDiskSpaceCritical uint64) {
if path == "" {
return
}
for {
freeSpace, err := getFreeDiskSpace(path)
if err != nil {