From 16e27beaa24c6c551eaa0d3e6d115017939593a1 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Sun, 25 Aug 2019 06:06:41 +0200 Subject: Support multi-reports --- remote/kaas.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) mode change 100755 => 100644 remote/kaas.sh (limited to 'remote/kaas.sh') diff --git a/remote/kaas.sh b/remote/kaas.sh old mode 100755 new mode 100644 index 436ee30..5fc1b4a --- 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" -- cgit v1.2.3