diff --git a/docs/release-notes/release-notes-0.14.0.md b/docs/release-notes/release-notes-0.14.0.md index a752b1758..92e55519f 100644 --- a/docs/release-notes/release-notes-0.14.0.md +++ b/docs/release-notes/release-notes-0.14.0.md @@ -59,6 +59,7 @@ you. * [Bumped version of `github.com/miekg/dns` library to fix a Dependabot alert](https://github.com/lightningnetwork/lnd/pull/5576). * [Fixed timeout flakes in async payment benchmark tests](https://github.com/lightningnetwork/lnd/pull/5579). +* [Fixed a missing import and git tag in the healthcheck package](https://github.com/lightningnetwork/lnd/pull/5582). ## Database diff --git a/healthcheck/diskcheck_js.go b/healthcheck/diskcheck_js.go index 4a2f4f57f..57106444b 100644 --- a/healthcheck/diskcheck_js.go +++ b/healthcheck/diskcheck_js.go @@ -1,13 +1,15 @@ package healthcheck +import "fmt" + // AvailableDiskSpaceRatio returns ratio of available disk space to total // capacity. -func AvailableDiskSpaceRatio(path string) (float64, error) { +func AvailableDiskSpaceRatio(_ string) (float64, error) { return 0, fmt.Errorf("disk space check not supported in WebAssembly") } // AvailableDiskSpace returns the available disk space in bytes of the given // file system. -func AvailableDiskSpace(path string) (uint64, error) { +func AvailableDiskSpace(_ string) (uint64, error) { return 0, fmt.Errorf("disk space check not supported in WebAssembly") }