remove duplicated assignment in v1/api.go (#647)

Signed-off-by: Guangming Wang <guangming.wang@daocloud.io>
This commit is contained in:
Guangming Wang 2019-10-02 05:47:28 +08:00 committed by Krasi Georgiev
parent 20428fa0bf
commit 49b3f23433
1 changed files with 0 additions and 1 deletions

View File

@ -100,7 +100,6 @@ func marshalPointJSON(ptr unsafe.Pointer, stream *json.Stream) {
if abs != 0 {
if abs < 1e-6 || abs >= 1e21 {
fmt = 'e'
fmt = 'e'
}
}
buf = strconv.AppendFloat(buf, float64(p.Value), fmt, -1, 64)