mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 20:53:33 +00:00
clean unused function in file pkg/volume/projected/projected.go
This commit is contained in:
parent
d5bada212e
commit
f7e46cf79d
@ -18,8 +18,6 @@ package projected
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"sort"
|
|
||||||
"strings"
|
|
||||||
|
|
||||||
"github.com/golang/glog"
|
"github.com/golang/glog"
|
||||||
"k8s.io/api/core/v1"
|
"k8s.io/api/core/v1"
|
||||||
@ -300,12 +298,6 @@ func (s *projectedVolumeMounter) collectData() (map[string]volumeutil.FileProjec
|
|||||||
return payload, utilerrors.NewAggregate(errlist)
|
return payload, utilerrors.NewAggregate(errlist)
|
||||||
}
|
}
|
||||||
|
|
||||||
func sortLines(values string) string {
|
|
||||||
splitted := strings.Split(values, "\n")
|
|
||||||
sort.Strings(splitted)
|
|
||||||
return strings.Join(splitted, "\n")
|
|
||||||
}
|
|
||||||
|
|
||||||
type projectedVolumeUnmounter struct {
|
type projectedVolumeUnmounter struct {
|
||||||
*projectedVolume
|
*projectedVolume
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user