etcdserver/etcdhttp: fix typo

release-2.0
Blake Mizerany 2014-08-27 16:36:57 -07:00 committed by Yicheng Qin
parent c4defbc45c
commit 38e8f3b764
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ func encodeResponse(ctx context.Context, w http.ResponseWriter, resp etcdserver.
return err
}
default:
panic("should not be rechable")
panic("should not be reachable")
}
w.Header().Set("Content-Type", "application/json")