mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
ctlv3/command: remove double-quote typos in fields printer
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
This commit is contained in:
parent
45e6b658dd
commit
9040b3eb2b
@ -137,10 +137,10 @@ func (p *fieldsPrinter) EndpointStatus(eps []epStatus) {
|
|||||||
for _, ep := range eps {
|
for _, ep := range eps {
|
||||||
p.hdr(ep.Resp.Header)
|
p.hdr(ep.Resp.Header)
|
||||||
fmt.Printf("\"Version\" : %q\n", ep.Resp.Version)
|
fmt.Printf("\"Version\" : %q\n", ep.Resp.Version)
|
||||||
fmt.Println(`"DBSize" :"`, ep.Resp.DbSize)
|
fmt.Println(`"DBSize" :`, ep.Resp.DbSize)
|
||||||
fmt.Println(`"Leader" :"`, ep.Resp.Leader)
|
fmt.Println(`"Leader" :`, ep.Resp.Leader)
|
||||||
fmt.Println(`"RaftIndex" :"`, ep.Resp.RaftIndex)
|
fmt.Println(`"RaftIndex" :`, ep.Resp.RaftIndex)
|
||||||
fmt.Println(`"RaftTerm" :"`, ep.Resp.RaftTerm)
|
fmt.Println(`"RaftTerm" :`, ep.Resp.RaftTerm)
|
||||||
fmt.Printf("\"Endpoint\" : %q\n", ep.Ep)
|
fmt.Printf("\"Endpoint\" : %q\n", ep.Ep)
|
||||||
fmt.Println()
|
fmt.Println()
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user