-
Notifications
You must be signed in to change notification settings - Fork 2
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
Fix cert and key reading for broflake on lantern cloud #626
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, but I think we should remove the dead code.
http-proxy/main.go
Outdated
// TODO (allan): Remove BroflakeCert and BroflakeKey once broflake is working properly on LC | ||
BroflakeCert: os.Getenv("BROFLAKE_CERT"), | ||
BroflakeKey: os.Getenv("BROFLAKE_KEY"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I don't understand why we would want to leave these around. The fields are not referenced anymore and there will never be anything in those environment variables at this point.
broflake/broflake.go
Outdated
// TODO: update the Broflake library to accept cert and key as PEM encoded strings | ||
// TODO (allan): update the Broflake library to accept cert and key as PEM encoded strings | ||
// Maybe it's already done. Investigate! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No description provided.