From 55c1635ceecb70e94ce9c7486500a17a8b6497cb Mon Sep 17 00:00:00 2001 From: Barak Michener Date: Tue, 27 Jan 2015 13:54:23 -0500 Subject: [PATCH] comment --- migrate/etcd4.go | 1 + 1 file changed, 1 insertion(+) diff --git a/migrate/etcd4.go b/migrate/etcd4.go index 2a2d57881..62aaeb4bd 100644 --- a/migrate/etcd4.go +++ b/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 {