[VOL-2694] Use package specific logger instance in all log statements
Change-Id: Ib33d89bb04750d3f95901f3d80f9d37d336a3e2c
diff --git a/pkg/probe/probe_test.go b/pkg/probe/probe_test.go
index 93f9a03..77cd6a8 100644
--- a/pkg/probe/probe_test.go
+++ b/pkg/probe/probe_test.go
@@ -18,22 +18,14 @@
import (
"context"
"encoding/json"
+ "github.com/stretchr/testify/assert"
"io/ioutil"
"net/http"
"net/http/httptest"
"testing"
"time"
-
- "github.com/opencord/voltha-lib-go/v3/pkg/log"
- "github.com/stretchr/testify/assert"
)
-func init() {
- if _, err := log.AddPackage(log.JSON, log.WarnLevel, nil); err != nil {
- log.Fatalw("adding-log-package", log.Fields{"error": err})
- }
-}
-
func TestServiceStatusString(t *testing.T) {
assert.Equal(t, "Unknown", ServiceStatusUnknown.String(), "ServiceStatusUnknown")
assert.Equal(t, "Preparing", ServiceStatusPreparing.String(), "ServiceStatusPreparing")