From d5f2a5099bed3fbe461aadeb763978b22c5ae383 Mon Sep 17 00:00:00 2001 From: Michael Rasmussen Date: Wed, 24 Sep 2014 20:19:56 +0200 Subject: [PATCH] make method public to allow quieries for size and free --- src/Zpool.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Zpool.php b/src/Zpool.php index 6c06e3d..87e5f0c 100644 --- a/src/Zpool.php +++ b/src/Zpool.php @@ -636,7 +636,7 @@ class OMVModuleZFSZpool extends OMVModuleAbstract { * @param string $attribute * @return string value */ - private function getAttribute($attribute) { + public function getAttribute($attribute) { $cmd = "zpool list -H -o $attribute {$this->name}"; OMVUtil::exec($cmd, $output, $result); if ($result) { -- 2.39.2