Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

load-balancers: Minor doc fixup #589

Merged
merged 1 commit into from
Dec 9, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions load_balancers.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ func (s StickySessions) String() string {
}

// LBFirewall holds the allow and deny rules for a loadbalancer's firewall.
// Currently allow and deny rules support cidrs and ips.
// Currently, allow and deny rules support cidrs and ips.
// Please use the helper methods (IPSourceFirewall/CIDRSourceFirewall) to format the allow/deny rules.
type LBFirewall struct {
Allow []string `json:"allow,omitempty"`
Expand All @@ -176,7 +176,7 @@ func IPSourceFirewall(ip string) string { return fmt.Sprintf("ip:%s", ip) }
// like "192.0.2.0/24" and returns a formatted cidr source firewall rule
func CIDRSourceFirewall(cidr string) string { return fmt.Sprintf("cidr:%s", cidr) }

// String creates a human-readable description of a StickySessions instance.
// String creates a human-readable description of an LBFirewall instance.
func (f LBFirewall) String() string {
return Stringify(f)
}
Expand Down