Skip to content

Commit

Permalink
Update extension.go with @emla9's suggestion
Browse files Browse the repository at this point in the history
Co-authored-by: Elizabeth Labor <138024120+emla9@users.noreply.github.com>
  • Loading branch information
vassilvk and emla9 authored Jul 26, 2024
1 parent 20e1d9d commit 401cf67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extension.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ func (ctx ValidationContext) GetDoc() interface{} {
return ctx.doc
}

// GetDoc returns the parent descriptor of the value being validated.
// GetParent returns the parent descriptor of the value being validated.
func (ctx ValidationContext) GetParent() ParentDescriptor {
return ctx.parent
}
Expand Down

0 comments on commit 401cf67

Please sign in to comment.