]> git.datanom.net - omvzfs.git/commitdiff
make method public to allow quieries for size and free
authorMichael Rasmussen <mir@datanom.net>
Wed, 24 Sep 2014 18:19:56 +0000 (20:19 +0200)
committerMichael Rasmussen <mir@datanom.net>
Wed, 24 Sep 2014 18:19:56 +0000 (20:19 +0200)
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.030813 seconds and 5 git commands to generate.