Skip to content

Commit 17c4f57

Browse files
committed
Remove unused log
1 parent 7aa1a14 commit 17c4f57

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

go.mod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ require (
88
github.com/google/go-cmp v0.6.0
99
github.com/minio/minio-go/v7 v7.0.16
1010
github.com/onsi/ginkgo/v2 v2.19.0
11-
github.com/onsi/gomega v1.33.1
11+
github.com/onsi/gomega v1.34.0
1212
github.com/pkg/errors v0.9.1
1313
github.com/prometheus/client_golang v1.14.0
1414
github.com/stretchr/testify v1.8.4
@@ -79,7 +79,7 @@ require (
7979
golang.org/x/tools v0.21.0 // indirect
8080
gomodules.xyz/jsonpatch/v2 v2.2.0 // indirect
8181
google.golang.org/appengine v1.6.7 // indirect
82-
google.golang.org/protobuf v1.33.0 // indirect
82+
google.golang.org/protobuf v1.34.1 // indirect
8383
gopkg.in/inf.v0 v0.9.1 // indirect
8484
gopkg.in/ini.v1 v1.66.4 // indirect
8585
gopkg.in/yaml.v2 v2.4.0 // indirect
@@ -91,4 +91,4 @@ require (
9191
sigs.k8s.io/json v0.0.0-20220713155537-f223a00ba0e2 // indirect
9292
sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect
9393
sigs.k8s.io/yaml v1.3.0 // indirect
94-
)
94+
)

go.sum

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,8 @@ github.com/onsi/ginkgo/v2 v2.19.0 h1:9Cnnf7UHo57Hy3k6/m5k3dRfGTMXGvxhHFvkDTCTpvA
258258
github.com/onsi/ginkgo/v2 v2.19.0/go.mod h1:rlwLi9PilAFJ8jCg9UE1QP6VBpd6/xj3SRC0d6TU0To=
259259
github.com/onsi/gomega v1.33.1 h1:dsYjIxxSR755MDmKVsaFQTE22ChNBcuuTWgkUDSubOk=
260260
github.com/onsi/gomega v1.33.1/go.mod h1:U4R44UsT+9eLIaYRB2a5qajjtQYn0hauxvRm16AVYg0=
261+
github.com/onsi/gomega v1.34.0 h1:eSSPsPNp6ZpsG8X1OVmOTxig+CblTc4AxpPBykhe2Os=
262+
github.com/onsi/gomega v1.34.0/go.mod h1:MIKI8c+f+QLWk+hxbePD4i0LMJSExPaZOVfkoex4cAo=
261263
github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
262264
github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
263265
github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
@@ -620,6 +622,8 @@ google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp0
620622
google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc=
621623
google.golang.org/protobuf v1.33.0 h1:uNO2rsAINq/JlFpSdYEKIZ0uKD/R9cpdv0T+yoGwGmI=
622624
google.golang.org/protobuf v1.33.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
625+
google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
626+
google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos=
623627
gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw=
624628
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
625629
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=

test/testenv/mcutil.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ func CheckMCPodReady(ns string) bool {
7979
func GetConfiguredPeers(ns string, mcName string) []string {
8080
podName := fmt.Sprintf(MonitoringConsolePod, mcName)
8181
var peerList []string
82-
var output []byte
8382
if len(podName) > 0 {
8483
peerFile := "/opt/splunk/etc/apps/splunk_monitoring_console/local/splunk_monitoring_console_assets.conf"
8584
output, err := exec.Command("kubectl", "exec", "-n", ns, podName, "--", "cat", peerFile).Output()
@@ -101,7 +100,7 @@ func GetConfiguredPeers(ns string, mcName string) []string {
101100
}
102101
}
103102
}
104-
logf.Log.Info("Peer List found on MC Pod", "MC POD", podName, "Configured Peers", peerList, "splunk_monitoring_console_assets.conf output", output)
103+
logf.Log.Info("Peer List found on MC Pod", "MC POD", podName, "Configured Peers", peerList)
105104
return peerList
106105
}
107106

0 commit comments

Comments
 (0)