mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
etcdserver: remove unnecessary around detect datadir
The log is super unhelpful. When I have a 2.1.0 etcd, it prints out `2.0.1 vaild dir`. I have no idea why the data dir of a 2.1.0 etcd is 2.0.1.
This commit is contained in:
parent
f4c51cb5a1
commit
f2905f2828
@ -127,7 +127,6 @@ func upgradeDataDir(baseDataDir string, name string, ver version.DataDirVersion)
|
||||
case version.DataDir2_0_1:
|
||||
fallthrough
|
||||
default:
|
||||
log.Printf("etcdserver: datadir is valid for the 2.0.1 format")
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user