Skip to content

Commit ce7f862

Browse files
authored
Merge pull request #487 from andyzhangx/go1.24
chore: use go1.24
2 parents 8957162 + 1e08f86 commit ce7f862

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

go.mod

Lines changed: 1 addition & 3 deletions
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

pkg/discovery/discovery.go

Lines changed: 1 addition & 2 deletions
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)