summaryrefslogtreecommitdiff
path: root/edgemesh/pkg/module.go
diff options
context:
space:
mode:
Diffstat (limited to 'edgemesh/pkg/module.go')
-rw-r--r--edgemesh/pkg/module.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/edgemesh/pkg/module.go b/edgemesh/pkg/module.go
index a4468f8cc..3d11d0e46 100644
--- a/edgemesh/pkg/module.go
+++ b/edgemesh/pkg/module.go
@@ -1,7 +1,8 @@
package pkg
import (
- "github.com/kubeedge/beehive/pkg/common/log"
+ "k8s.io/klog"
+
"github.com/kubeedge/beehive/pkg/core"
"github.com/kubeedge/beehive/pkg/core/context"
"github.com/kubeedge/kubeedge/edge/pkg/common/modules"
@@ -36,7 +37,7 @@ func (em *EdgeMesh) Start(c *context.Context) {
// we need watch message to update the cache of instances
for {
if msg, ok := em.context.Receive(constant.ModuleNameEdgeMesh); ok == nil {
- log.LOGGER.Infof("get message: %v", msg)
+ klog.Infof("get message: %v", msg)
continue
}
}