follow golint suggestions
This commit is contained in:
@@ -120,7 +120,7 @@ func runServer(cmd *Command, args []string) bool {
|
||||
|
||||
folders := strings.Split(*volumeDataFolders, ",")
|
||||
maxCountStrings := strings.Split(*volumeMaxDataVolumeCounts, ",")
|
||||
maxCounts := make([]int, 0)
|
||||
var maxCounts []int
|
||||
for _, maxString := range maxCountStrings {
|
||||
if max, e := strconv.Atoi(maxString); e == nil {
|
||||
maxCounts = append(maxCounts, max)
|
||||
|
||||
Reference in New Issue
Block a user