Skip to content

Commit

Permalink
add kubescape logger
Browse files Browse the repository at this point in the history
Signed-off-by: Alessio Greggi <ale_grey_91@hotmail.it>
  • Loading branch information
alegrey91 committed Jul 5, 2023
1 parent f92a442 commit 1d0fa6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions e2e/controlplaneinfo_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ package e2e_test

import (
"encoding/json"
"fmt"
"io/ioutil"
"net/http"

. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"

sensor "github.com/kubescape/host-scanner/sensor"
"github.com/kubescape/go-logger"
)

var _ = Describe("ControlPlaneInfo", func() {
Expand Down Expand Up @@ -43,7 +43,7 @@ var _ = Describe("ControlPlaneInfo", func() {

// (leave it there for debugging)
for i := range resultBody.PKIFiles {
fmt.Println(resultBody.PKIFiles[i].Path)
logger.L().Info(resultBody.PKIFiles[i].Path)
}
for i := range resultBody.PKIFiles {
Expect(resultBody.PKIFiles[i].Path).To(Equal(pkiFiles.PKIFiles[i].Path))
Expand Down

0 comments on commit 1d0fa6b

Please sign in to comment.