Skip to content

Commit

Permalink
adding comment to struct
Browse files Browse the repository at this point in the history
  • Loading branch information
mativm02 committed Aug 3, 2023
1 parent 94cb84a commit 9919a84
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions persistent/internal/driver/mongo/life_cycle.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ type urlInfo struct {
options []urlOptions
}

// urlOptions is a key/value pair representing a single option in a URL.
// we need to use this struct instead of a map to avoid flaky tests due to the order of the options
type urlOptions struct {
key string
val string
Expand Down

0 comments on commit 9919a84

Please sign in to comment.