Skip to content

Commit

Permalink
address comment
Browse files Browse the repository at this point in the history
  • Loading branch information
zyiou committed Oct 27, 2020
1 parent f1e8690 commit d130042
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/collector/tcp.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func (cp *collectingProcess) StartTCPServer() {
}
}

func (cp *collectingProcess) StartTLSServer(serverCert []byte, serverKey []byte) {
func (cp *collectingProcess) StartTLSServer(serverCert, serverKey []byte) {
cer, err := tls.X509KeyPair(serverCert, serverKey)
if err != nil {
klog.Error(err)
Expand Down

0 comments on commit d130042

Please sign in to comment.