Skip to content

allow configuring proxy protocol - #78

Merged
0xch4z merged 1 commit into
linode:masterfrom
0xch4z:feat/proxy-protocol
Sep 24, 2020
Merged

0xch4z merged 1 commit into
linode:masterfrom
0xch4z:feat/proxy-protocol

Conversation

@0xch4z

@0xch4z 0xch4z commented Sep 15, 2020 •

Copy link
Copy Markdown
Contributor

Closes #74

@0xch4z
0xch4z requested a review from asauber September 15, 2020 14:36

@asauber asauber left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM!

Region: nbco.Region,
IPv4: &ip,
Hostname: &hostname,
CreatedStr: time.Now().Format("2006-01-02T15:04:05"),

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

For these timestamps, why are you removing both the static values and the dynamic values? Are the default values ok?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

CreatedStr and UpdatedStr were removed from the linodego.Instance struct some time ago in favor of CreatedAt and DeletedAt, which are of type *time.Time. I noticed no test was relying on them so I simply didn't replace them.

@0xch4z
0xch4z merged commit 3d5e9c7 into linode:master Sep 24, 2020
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.

LoadBalancer Services cannot discover the true ClientIP

2 participants