@@ -25,6 +25,7 @@ import (
25
25
26
26
"github.com/container-storage-interface/spec/lib/go/csi/v0"
27
27
"github.com/golang/glog"
28
+
"github.com/kubernetes-csi/csi-lib-utils/protosanitizer"
28
29
"google.golang.org/grpc"
29
30
"google.golang.org/grpc/codes"
30
31
"google.golang.org/grpc/connectivity"
@@ -233,9 +234,9 @@ func (c *csiConnection) Close() error {
233
234
234
235
func logGRPC(ctx context.Context, method string, req, reply interface{}, cc *grpc.ClientConn, invoker grpc.UnaryInvoker, opts ...grpc.CallOption) error {
235
236
glog.V(5).Infof("GRPC call: %s", method)
236
-
glog.V(5).Infof("GRPC request: %+v", req)
237
+
glog.V(5).Infof("GRPC request: %s", protosanitizer.StripSecretsCSI03(req))
237
238
err := invoker(ctx, method, req, reply, cc, opts...)
238
-
glog.V(5).Infof("GRPC response: %+v", reply)
239
+
glog.V(5).Infof("GRPC response: %s", protosanitizer.StripSecretsCSI03(reply))
239
240
glog.V(5).Infof("GRPC error: %v", err)
240
241
return err
241
242
}
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4