clean unused function in file pkg/volume/projected/projected.go

This commit is contained in:
WanLinghao 2018-06-01 11:06:03 +08:00
parent d5bada212e
commit f7e46cf79d

View File

@ -18,8 +18,6 @@ package projected
import (
"fmt"
"sort"
"strings"
"github.com/golang/glog"
"k8s.io/api/core/v1"
@ -300,12 +298,6 @@ func (s *projectedVolumeMounter) collectData() (map[string]volumeutil.FileProjec
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 {
*projectedVolume
}