Skip to content

Commit

Permalink
Merge pull request moby#47613 from availhang/master
Browse files Browse the repository at this point in the history
chore: fix mismatched function names in godoc
  • Loading branch information
neersighted authored Mar 22, 2024
2 parents 83ae992 + 14a8fac commit bfdb891
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libnetwork/drivers/remote/driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ func parseStaticRoutes(r api.JoinResponse) ([]*types.StaticRoute, error) {
return routes, nil
}

// parseInterfaces validates all the parameters of an Interface and returns them.
// parseInterface validates all the parameters of an Interface and returns them.
func parseInterface(r api.CreateEndpointResponse) (*api.Interface, error) {
var outIf *api.Interface

Expand Down
2 changes: 1 addition & 1 deletion profiles/apparmor/apparmor.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func (p *profileData) generateDefault(out io.Writer) error {
return compiled.Execute(out, p)
}

// macrosExists checks if the passed macro exists.
// macroExists checks if the passed macro exists.
func macroExists(m string) bool {
_, err := os.Stat(path.Join(profileDirectory, m))
return err == nil
Expand Down

0 comments on commit bfdb891

Please sign in to comment.