Make progress type field name less ambiguous

This commit is contained in:
Steve Streeting 2015-10-16 08:35:39 +01:00
parent 97434feb55
commit 262d37ca75

@ -50,7 +50,7 @@ const (
// Progress from a sub-task of prune
type PruneProgress struct {
Type PruneProgressType
ProgressType PruneProgressType
Count int // Number of items done
}
type PruneProgressChan chan PruneProgress
@ -220,7 +220,7 @@ func pruneTaskDisplayProgress(progressChan PruneProgressChan, waitg *sync.WaitGr
verifyCount := 0
var msg string
for p := range progressChan {
switch p.Type {
switch p.ProgressType {
case PruneProgressTypeLocal:
localCount++
case PruneProgressTypeRetain: