From a897e53dcc3bf8de4ff3f303346289f3a686ef4f Mon Sep 17 00:00:00 2001 From: NanXiao Date: Fri, 17 Jun 2016 18:43:21 +0800 Subject: [PATCH] Fix typo in cluster/swarm/cluster.go Signed-off-by: NanXiao --- cluster/swarm/cluster.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cluster/swarm/cluster.go b/cluster/swarm/cluster.go index 6afcdeae7a..bdb5055fdd 100644 --- a/cluster/swarm/cluster.go +++ b/cluster/swarm/cluster.go @@ -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 {