Skip to content

Commit c80c559

Browse files
committed
Add comment explaining omission of ZoneSize
1 parent f7c225d commit c80c559

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/mode/static/nginx/config/upstreams.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ func (g GeneratorImpl) createUpstream(up dataplane.Upstream) http.Upstream {
7979
}
8080

8181
func createInvalidBackendRefUpstream() http.Upstream {
82+
// ZoneSize is omitted since we will only ever proxy to one destination/backend.
8283
return http.Upstream{
8384
Name: invalidBackendRef,
8485
Servers: []http.UpstreamServer{

0 commit comments

Comments
 (0)