[VOL-2740] Fixed loglevel clear issue and other optimizations
Change-Id: Ia862ff880e4f64fb35e86685a348d94f7b739091
diff --git a/pkg/config/configmanager.go b/pkg/config/configmanager.go
index 462b743..e85cfa7 100644
--- a/pkg/config/configmanager.go
+++ b/pkg/config/configmanager.go
@@ -59,6 +59,10 @@
Delete
)
+func (ce ChangeEvent) String() string {
+ return [...]string{"Put", "Delete"}[ce]
+}
+
// ConfigChangeEvent represents config for the events recieved from watch
// For example,ChangeType is Put ,ConfigAttribute default
type ConfigChangeEvent struct {