From 991bd7a29d2eb765d5ad108802abc45c41a195ec Mon Sep 17 00:00:00 2001 From: Mauricio Poppe Date: Mon, 6 Jan 2025 19:33:28 +0000 Subject: [PATCH] Fix format error in log message --- pkg/server/disk/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/server/disk/server.go b/pkg/server/disk/server.go index ca0abdac..9d43a3b6 100644 --- a/pkg/server/disk/server.go +++ b/pkg/server/disk/server.go @@ -136,7 +136,7 @@ func (s *Server) ListDiskIDs(context context.Context, request *internal.ListDisk } func (s *Server) DiskStats(context context.Context, request *internal.DiskStatsRequest, version apiversion.Version) (*internal.DiskStatsResponse, error) { - klog.V(2).Infof("Request: DiskStats: diskNumber=%d", request.DiskID) + klog.V(2).Infof("Request: DiskStats: diskID=%s", request.DiskID) minimumVersion := apiversion.NewVersionOrPanic("v1beta1") if version.Compare(minimumVersion) < 0 { return nil, fmt.Errorf("DiskStats requires CSI-Proxy API version v1beta1 or greater")