Skip to content

Commit

Permalink
docs: fix comment typos
Browse files Browse the repository at this point in the history
  • Loading branch information
guumaster committed Apr 16, 2020
1 parent ae5558f commit 1811d08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/host/profile.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func (p *Profile) AddRoute(ip, hostname string) {
}
}

// AddRoute adds multiple routes to the profile
// AddRoutes adds multiple routes to the profile
func (p *Profile) AddRoutes(ip string, hostnames []string) {
if p.Routes[ip] == nil {
p.appendIP(ip)
Expand Down Expand Up @@ -79,7 +79,7 @@ func (p *Profile) GetHostNames(ip string) ([]string, error) {
return hosts.HostNames, nil
}

// GetHostNames returns all hostnames of the profile.
// GetAllHostNames returns all hostnames of the profile.
func (p *Profile) GetAllHostNames() ([]string, error) {
list := []string{}

Expand Down

0 comments on commit 1811d08

Please sign in to comment.