Skip to content

Commit

Permalink
[bonus] Function comment for docs
Browse files Browse the repository at this point in the history
  • Loading branch information
didierofrivia committed Feb 3, 2023
1 parent 5feef54 commit 683c497
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/common/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ func UnMarshallObjectKey(keyStr string) (client.ObjectKey, error) {
return client.ObjectKey{Namespace: keySplit[0], Name: keySplit[1]}, nil
}

// converts []gatewayapi_v1alpha2.Hostname to []string
// HostnamesToStrings converts []gatewayapi_v1alpha2.Hostname to []string
func HostnamesToStrings(hostnames []gatewayapiv1alpha2.Hostname) []string {
hosts := []string{}
for idx := range hostnames {
Expand Down

0 comments on commit 683c497

Please sign in to comment.