Barak Michener пре 11 година
родитељ
комит
55c1635cee
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      migrate/etcd4.go

+ 1 - 0
migrate/etcd4.go

@@ -29,6 +29,7 @@ import (
 	"github.com/coreos/etcd/wal/walpb"
 )
 
+// We need an offset in leader election terms, because term 0 is special in 2.0.
 const termOffset4to2 = 1
 
 func snapDir4(dataDir string) string {