Skip to content

Conversation

@itakouna
Copy link
Contributor

No description provided.

@itakouna itakouna requested a review from nvthongswansea June 29, 2023 13:52
loadbalancer.go Outdated
Host string `json:"host"`

// Proxy protocol version
ProxyProtocol string `json:"proxy_protocol,omitempty"`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be of type *string. The reason is that when we want to remove ProxyProtocol (by setting it to empty) via a loadbalancer update request, the empty ProxyProtocol is omitted in the request's payload => the value of ProxyProtocol is not removed.

@nvthongswansea
Copy link
Member

LGTM

@nvthongswansea nvthongswansea merged commit 3dd5e32 into master Jun 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants