Fix typo in cluster/swarm/cluster.go

Signed-off-by: NanXiao <nan@chinadtrace.org>
This commit is contained in:
NanXiao 2016-06-17 18:43:21 +08:00
parent 6d5638b95b
commit a897e53dcc
1 changed files with 1 additions and 1 deletions

View File

@ -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 {