Skip to content

Commit

Permalink
Add scheme length requirement in the documentation (#4733)
Browse files Browse the repository at this point in the history
Fixes #4728
  • Loading branch information
Alex Boten authored Jan 24, 2022
1 parent 2c5eb7c commit eb429c7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion config/configmapprovider/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ type Provider interface {
//
// `location` must follow the "<scheme>:<opaque_data>" format. This format is compatible
// with the URI definition (see https://datatracker.ietf.org/doc/html/rfc3986). The "<scheme>"
// must be always included in the `location`.
// must be always included in the `location`. The scheme supported by any provider MUST be at
// least 2 characters long to avoid conflicting with a driver-letter identifier as specified
// in https://tools.ietf.org/id/draft-kerwin-file-scheme-07.html#syntax.
//
// `watcher` callback is called when the config changes. watcher may be called from
// a different go routine. After watcher is called Retrieved.Get should be called
Expand Down

0 comments on commit eb429c7

Please sign in to comment.