Skip to content

Commit 1e08f86

Browse files
committed
chore: use go1.24
fix
1 parent 8957162 commit 1e08f86

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

Diff for: go.mod

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
module sigs.k8s.io/sig-storage-local-static-provisioner
22

3-
go 1.23.0
4-
5-
toolchain go1.23.1
3+
go 1.24
64

75
require (
86
github.com/golang/glog v1.1.2

Diff for: pkg/discovery/discovery.go

+1-2
Original file line numberDiff line numberDiff line change
@@ -277,8 +277,7 @@ func (d *Discoverer) discoverVolumesAtPath(class string, config common.MountConf
277277
outsidePath := filepath.Join(config.HostDir, file)
278278
existingPVNames := d.Cache.LookupPVsByPath(outsidePath)
279279
if len(existingPVNames) > 0 {
280-
errStr := fmt.Sprintf("Volume path already in use: PV %q wants path %q which was already found in %q.", pvName, outsidePath, strings.Join(existingPVNames, ","))
281-
klog.Errorf(errStr)
280+
klog.Errorf("Volume path already in use: PV %q wants path %q which was already found in %q.", pvName, outsidePath, strings.Join(existingPVNames, ","))
282281
continue
283282
}
284283

0 commit comments

Comments
 (0)