chore: fix mismatched function names in godoc
Signed-off-by: George Ma <mayangang@outlook.com>
This commit is contained in:
parent
59c5059081
commit
14a8fac092
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue