healthcheck: fix missing import
This commit is contained in:
2 files changed
+5
-2
No files matched your search
@@ -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")
|
||||
}
|
||||
Reference in new issue
Block a user