mirror of
https://github.com/TECHNOFAB11/zfs-localpv.git
synced 2025-12-12 06:20: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
|
|
@ -6,12 +6,12 @@ import (
|
|||
"log"
|
||||
"os"
|
||||
|
||||
"github.com/Sirupsen/logrus"
|
||||
config "github.com/openebs/zfs-localpv/pkg/config"
|
||||
"github.com/openebs/zfs-localpv/pkg/driver"
|
||||
"github.com/openebs/zfs-localpv/pkg/version"
|
||||
zfs "github.com/openebs/zfs-localpv/pkg/zfs"
|
||||
"github.com/spf13/cobra"
|
||||
"k8s.io/klog"
|
||||
)
|
||||
|
||||
/*
|
||||
|
|
@ -70,8 +70,8 @@ func run(config *config.Config) {
|
|||
config.Version = version.Current()
|
||||
}
|
||||
|
||||
logrus.Infof("ZFS Driver Version :- %s - commit :- %s", version.Current(), version.GetGitCommit())
|
||||
logrus.Infof(
|
||||
klog.Infof("ZFS Driver Version :- %s - commit :- %s", version.Current(), version.GetGitCommit())
|
||||
klog.Infof(
|
||||
"DriverName: %s Plugin: %s EndPoint: %s NodeID: %s",
|
||||
config.DriverName,
|
||||
config.PluginType,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue