From 68553eabbba22bf4dea43eee4c572861a47b7dbf Mon Sep 17 00:00:00 2001 From: Vitaliy Filippov Date: Wed, 6 Dec 2023 00:48:12 +0300 Subject: [PATCH] Log executed CLI commands --- csi/src/controllerserver.go | 1 + 1 file changed, 1 insertion(+) diff --git a/csi/src/controllerserver.go b/csi/src/controllerserver.go index 85a5eb68..1123771c 100644 --- a/csi/src/controllerserver.go +++ b/csi/src/controllerserver.go @@ -116,6 +116,7 @@ func GetConnectionParams(params map[string]string) (map[string]string, error) func system(program string, args ...string) ([]byte, error) { + klog.Infof("Running "+program+" "+strings.Join(args, " ")) c := exec.Command(program, args...) var stdout, stderr bytes.Buffer c.Stdout, c.Stderr = &stdout, &stderr