raft: simplify the code in progress.go (#12119)
raft: simplify the code in progress.go (#12119)


ajityagaty/etcd,rnaveiras/etcd,ajityagaty/etcd,coreos/etcd,coreos/etcd,rnaveiras/etcd,etcd-io/etcd,mkumatag/etcd,gyuho/etcd,dannysauer/etcd,mqliang/etcd,mkumatag/etcd,li-ang/etcd,dannysauer/etcd,mqliang/etcd,etcd-io/etcd,li-ang/etcd,ajityagaty/etcd,mqliang/etcd,mkumatag/etcd,gyuho/etcd,rnaveiras/etcd,etcd-io/etcd