From fff8880a8d46813186ed2708c2a1fa2b8a25e8b6 Mon Sep 17 00:00:00 2001 From: anushree-n Date: Mon, 13 Jul 2015 10:30:46 -0700 Subject: [PATCH] Typo in helpers.go --- container/libcontainer/helpers.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/container/libcontainer/helpers.go b/container/libcontainer/helpers.go index bb6e9ee3..0cd4c119 100644 --- a/container/libcontainer/helpers.go +++ b/container/libcontainer/helpers.go @@ -93,7 +93,7 @@ func GetStats(cgroupManager cgroups.Manager, networkInterfaces []string) (*info. } stats.Network.Interfaces[i] = interfaceStats } - // For backwards compatability. + // For backwards compatibility. if len(networkInterfaces) > 0 { stats.Network.InterfaceStats = stats.Network.Interfaces[0] } @@ -233,7 +233,7 @@ func toContainerStats3(libcontainerStats *libcontainer.Stats, ret *info.Containe } } - // Add to base struct for backwards compatability. + // Add to base struct for backwards compatibility. if len(ret.Network.Interfaces) > 0 { ret.Network.InterfaceStats = ret.Network.Interfaces[0] }