From: Michael Rasmussen Date: Wed, 24 Sep 2014 18:19:56 +0000 (+0200) Subject: make method public to allow quieries for size and free X-Git-Url: http://git.datanom.net/omvzfs.git/commitdiff_plain/d5f2a5099bed3fbe461aadeb763978b22c5ae383 make method public to allow quieries for size and free --- 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) {