Explorar o código

Fix dont typo

Signed-off-by: Xiaodong Zhang <a4012017@sina.com>
nashasha1 %!s(int64=6) %!d(string=hai) anos
pai
achega
86b4cc49dd
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      api/types/stats.go

+ 1 - 1
api/types/stats.go

@@ -129,7 +129,7 @@ type NetworkStats struct {
 	TxBytes uint64 `json:"tx_bytes"`
 	TxBytes uint64 `json:"tx_bytes"`
 	// Packets sent. Windows and Linux.
 	// Packets sent. Windows and Linux.
 	TxPackets uint64 `json:"tx_packets"`
 	TxPackets uint64 `json:"tx_packets"`
-	// Sent errors. Not used on Windows. Note that we dont `omitempty` this
+	// Sent errors. Not used on Windows. Note that we don't `omitempty` this
 	// field as it is expected in the >=v1.21 API stats structure.
 	// field as it is expected in the >=v1.21 API stats structure.
 	TxErrors uint64 `json:"tx_errors"`
 	TxErrors uint64 `json:"tx_errors"`
 	// Outgoing packets dropped. Windows and Linux.
 	// Outgoing packets dropped. Windows and Linux.