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

fix typo #2986

Merged
merged 2 commits into from Jul 2, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions baggage/baggage.go
Expand Up @@ -157,7 +157,7 @@ func (p Property) Key() string {
return p.key
}

// Value returns the Property value. Additionally a boolean value is returned
// Value returns the Property value. Additionally, a boolean value is returned
// indicating if the returned value is the empty if the Property has a value
// that is empty or if the value is not set.
func (p Property) Value() (string, bool) {
Expand Down Expand Up @@ -392,7 +392,7 @@ func New(members ...Member) (Baggage, error) {
}
}

// Check member numbers after deduplicating.
MrAlias marked this conversation as resolved.
Show resolved Hide resolved
// Check member numbers after duplicating.
if len(b) > maxMembers {
return Baggage{}, errMemberNumber
}
Expand Down Expand Up @@ -454,7 +454,7 @@ func Parse(bStr string) (Baggage, error) {
func (b Baggage) Member(key string) Member {
v, ok := b.list[key]
if !ok {
// We do not need to worry about distiguising between the situation
// We do not need to worry about distinguishing between the situation
// where a zero-valued Member is included in the Baggage because a
// zero-valued Member is invalid according to the W3C Baggage
// specification (it has an empty key).
Expand Down