lnd.xprv/healthcheck
Oliver Gugger 35c1fad517
server+healthcheck: rename function, add absolute disk space function
With this commit we rename the existing AvailableDiskSpace function to
its correct name AvailableDiskSpaceRatio as it only returns a ratio. We
then go ahead and add a new function that returns the actual number of
free bytes available on a file system.

This also fixes some comments and always returns an error instead of
panicking.
2020-11-13 10:19:50 +01:00
..
diskcheck_netbsd.go server+healthcheck: rename function, add absolute disk space function 2020-11-13 10:19:50 +01:00
diskcheck_openbsd.go server+healthcheck: rename function, add absolute disk space function 2020-11-13 10:19:50 +01:00
diskcheck_solaris.go server+healthcheck: rename function, add absolute disk space function 2020-11-13 10:19:50 +01:00
diskcheck_windows.go server+healthcheck: rename function, add absolute disk space function 2020-11-13 10:19:50 +01:00
diskcheck.go server+healthcheck: rename function, add absolute disk space function 2020-11-13 10:19:50 +01:00
healthcheck_test.go healthcheck: monitor access to chain backend 2020-08-24 09:35:36 +02:00
healthcheck.go healthcheck: bump logging for failed healthchecks to info 2020-10-04 16:31:51 -07:00
log.go healthcheck: monitor access to chain backend 2020-08-24 09:35:36 +02:00