Skip to content

Commit

Permalink
chore: fix function name in comment (#1798)
Browse files Browse the repository at this point in the history
Signed-off-by: oftenoccur <ezc5@sina.com>
  • Loading branch information
oftenoccur committed Apr 12, 2024
1 parent a093c95 commit 4c5e4c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grype/db/v3/namespace.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func NamespaceForFeedGroup(feed, group string) (string, error) {
return "", fmt.Errorf("feed=%q group=%q has no namespace mappings", feed, group)
}

// NamespaceFromDistro returns the correct Feed Service namespace for the given
// NamespaceForDistro returns the correct Feed Service namespace for the given
// distro. A namespace is a distinct identifier from the Feed Service, and it
// can be a combination of distro name and version(s), for example "amzn:8".
// This is critical to query the database and correlate the distro version with
Expand Down

0 comments on commit 4c5e4c6

Please sign in to comment.