etcdserver: add checking when apply conf change

can we check the type assertion explicitly? 
err, ok := x.(error)
if !ok {

}
...