diff options
author | Masaya Tojo <masaya@tojo.tokyo> | 2021-09-11 01:44:14 +0900 |
---|---|---|
committer | Masaya Tojo <masaya@tojo.tokyo> | 2021-09-11 01:44:30 +0900 |
commit | 15d2d539a19e6305b5ae7a6819e90288e48d4e96 (patch) | |
tree | d2bc970a3bf5d5f652bf15c4052336cbcfbbe9b2 /tojo-tokyo | |
parent | cbe0eca3c4d99cf8f5517beab103bdd66d0f4a27 (diff) |
monitoring: Remove current-df-command parameter.
Diffstat (limited to 'tojo-tokyo')
-rw-r--r-- | tojo-tokyo/monitoring.scm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tojo-tokyo/monitoring.scm b/tojo-tokyo/monitoring.scm index 4f8ecf7..c9e34a1 100644 --- a/tojo-tokyo/monitoring.scm +++ b/tojo-tokyo/monitoring.scm @@ -23,7 +23,6 @@ #:use-module ((srfi srfi-1) #:select (any)) #:use-module (web client)) -(define-public current-df-command (make-parameter "df")) (define-public current-heartbeat-url (make-parameter (let ((heartbeat-file "/etc/heartbeat-url")) @@ -32,7 +31,7 @@ "https://heartbeat.test")))) (define (df) - (let ((port (open-input-pipe (current-df-command)))) + (let ((port (open-input-pipe "df"))) (get-line port) (let f ((line (get-line port))) (cond ((eof-object? line) |