Skip to content

Commit

Permalink
Fix format error in log message
Browse files Browse the repository at this point in the history
  • Loading branch information
mauriciopoppe committed Jan 6, 2025
1 parent 5cb6e2d commit 991bd7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/server/disk/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 991bd7a

Please sign in to comment.