Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix typos in function comments #168

Merged
merged 1 commit into from
Oct 7, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions container_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,23 +41,23 @@ 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")
}
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")
}
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")
Expand Down
Loading