mirror of
https://github.com/TECHNOFAB11/zfs-localpv.git
synced 2025-12-11 22:10:11 +01:00
feat(zfspv): move to klog (#166)
Signed-off-by: vaniisgh <vanisingh@live.co.uk>
This commit is contained in:
parent
54f2b0b9fd
commit
d0d1664d43
53 changed files with 124 additions and 2991 deletions
|
|
@ -17,9 +17,9 @@ limitations under the License.
|
|||
package driver
|
||||
|
||||
import (
|
||||
"github.com/Sirupsen/logrus"
|
||||
"github.com/container-storage-interface/spec/lib/go/csi"
|
||||
config "github.com/openebs/zfs-localpv/pkg/config"
|
||||
"k8s.io/klog"
|
||||
)
|
||||
|
||||
// volume can only be published once as
|
||||
|
|
@ -52,7 +52,7 @@ func GetVolumeCapabilityAccessModes() []*csi.VolumeCapability_AccessMode {
|
|||
|
||||
var vcams []*csi.VolumeCapability_AccessMode
|
||||
for _, vcam := range supported {
|
||||
logrus.Infof("enabling volume access mode: %s", vcam.String())
|
||||
klog.Infof("enabling volume access mode: %s", vcam.String())
|
||||
vcams = append(vcams, newVolumeCapabilityAccessMode(vcam))
|
||||
}
|
||||
return vcams
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue