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

feat: start using instance_id argument for instance_id header #616

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

chriswk
Copy link
Member

@chriswk chriswk commented Dec 20, 2024

Closes #614

@chriswk chriswk linked an issue Dec 20, 2024 that may be closed by this pull request
Copy link

github-actions bot commented Dec 20, 2024

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails

Scanned Files

Comment on lines 279 to 281
app_name: String,
instance_id: String,
custom_headers: Vec<(String, String)>,
Copy link
Contributor

Choose a reason for hiding this comment

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

Ooh, this is a little sticky again. Having two very similar arguments with very similar values of the same type next to each other is a little dodgy. It'll be easy to flip them around. Can we chuck 'em in a config struct or use the type system to differentiate them?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Approved PRs
Development

Successfully merging this pull request may close these issues.

Edge's instance IDs should be unique (and configurable?)
2 participants