]> git.datanom.net - omvzfs.git/blobdiff - src/Zpool.php
make method public to allow quieries for size and free
[omvzfs.git] / src / Zpool.php
index 6c06e3d97a3429f33b6d468ed06b114b895f94dd..87e5f0cb4637e88badb4eab36aa32e394e896469 100644 (file)
@@ -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) {
This page took 0.02869 seconds and 5 git commands to generate.