From 8be945510eb017eb9943b5d93d7f1b1e2896f722 Mon Sep 17 00:00:00 2001 From: Tim Earle Date: Mon, 7 Oct 2024 17:48:05 -0400 Subject: [PATCH] fix typos in function comments (#168) --- container_config.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/container_config.go b/container_config.go index 7216c3d..4468885 100644 --- a/container_config.go +++ b/container_config.go @@ -41,7 +41,7 @@ func (cc *ContainerConfig) MergeDevs() map[string]string { return cc.Devs } -// MergeDevs merges and assigns the indexed Mp0..9 fields to a string map +// MergeMps merges and assigns the indexed Mp0..9 fields to a string map func (cc *ContainerConfig) MergeMps() map[string]string { if cc.Mps == nil { cc.Mps = cc.mergeIndexedFields("Mp") @@ -49,7 +49,7 @@ func (cc *ContainerConfig) MergeMps() map[string]string { return cc.Mps } -// MergeDevs merges and assigns the indexed Net0..9 fields to a string map +// MergeNets merges and assigns the indexed Net0..9 fields to a string map func (cc *ContainerConfig) MergeNets() map[string]string { if cc.Nets == nil { cc.Nets = cc.mergeIndexedFields("Net") @@ -57,7 +57,7 @@ func (cc *ContainerConfig) MergeNets() map[string]string { return cc.Nets } -// MergeDevs merges and assigns the indexed Unused0..9 fields to a string map +// MergeUnuseds merges and assigns the indexed Unused0..9 fields to a string map func (cc *ContainerConfig) MergeUnuseds() map[string]string { if cc.Unuseds == nil { cc.Unuseds = cc.mergeIndexedFields("Unused")