summaryrefslogtreecommitdiffstats
path: root/remote/kaas.sh
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-08-25 06:06:41 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-08-25 06:06:41 +0200
commit16e27beaa24c6c551eaa0d3e6d115017939593a1 (patch)
tree61aea994bfc76e9f0053b26a42406e456c2a962e /remote/kaas.sh
parentb2d1ca40d5bd1015a37cc243000b636eefc3d128 (diff)
downloadconky-16e27beaa24c6c551eaa0d3e6d115017939593a1.tar.gz
conky-16e27beaa24c6c551eaa0d3e6d115017939593a1.tar.bz2
conky-16e27beaa24c6c551eaa0d3e6d115017939593a1.tar.xz
conky-16e27beaa24c6c551eaa0d3e6d115017939593a1.zip
Support multi-reports
Diffstat (limited to 'remote/kaas.sh')
-rw-r--r--[-rwxr-xr-x]remote/kaas.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/remote/kaas.sh b/remote/kaas.sh
index 436ee30..5fc1b4a 100755..100644
--- a/remote/kaas.sh
+++ b/remote/kaas.sh
@@ -1,6 +1,6 @@
#! /bin/bash
-. lib/status.sh
+[ -z $report ] && source lib/status.sh
function check_kaas {
@@ -9,4 +9,4 @@ function check_kaas {
}
print "KaaS Cluster\n"
-standart_report "check_kaas" "print_table | column -t -s '/' -o '/' | decorate_table"
+report "check_kaas" "print_table | column -t -s '/' -o '/' | decorate_table"