mirror of https://github.com/docker/docs.git
Fix typo in cluster/swarm/cluster.go
Signed-off-by: NanXiao <nan@chinadtrace.org>
This commit is contained in:
parent
6d5638b95b
commit
a897e53dcc
|
@ -822,7 +822,7 @@ func (c *Cluster) TotalMemory() int64 {
|
|||
return totalMemory
|
||||
}
|
||||
|
||||
// TotalCpus returns the total memory of the cluster
|
||||
// TotalCpus returns the total CPUs of the cluster
|
||||
func (c *Cluster) TotalCpus() int64 {
|
||||
var totalCpus int64
|
||||
for _, engine := range c.engines {
|
||||
|
|
Loading…
Reference in New Issue