|
@ -206,7 +206,7 @@ func (g *Group) checkTotalSizeLimit() { |
|
|
log.Println("WARNING: Group's head " + g.Head.Path + "may grow without bound") |
|
|
log.Println("WARNING: Group's head " + g.Head.Path + "may grow without bound") |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
pathToRemove := filePathForIndex(g.Head.Path, gInfo.MinIndex, gInfo.MaxIndex) |
|
|
|
|
|
|
|
|
pathToRemove := filePathForIndex(g.Head.Path, index, gInfo.MaxIndex) |
|
|
fileInfo, err := os.Stat(pathToRemove) |
|
|
fileInfo, err := os.Stat(pathToRemove) |
|
|
if err != nil { |
|
|
if err != nil { |
|
|
log.Println("WARNING: Failed to fetch info for file @" + pathToRemove) |
|
|
log.Println("WARNING: Failed to fetch info for file @" + pathToRemove) |
|
|