Skip to content

Commit

Permalink
ability to watch "withoutData", useful when retrieving keys
Browse files Browse the repository at this point in the history
  • Loading branch information
scottf committed Oct 28, 2021
1 parent 5f553ec commit 73eb433
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kv.go
Expand Up @@ -122,7 +122,7 @@ func (opt watchOptFn) configureWatcher(opts *watchOpts) error {
return opt(opts)
}

// IncludeHistory instructs the key watcher to include historical values as well.
// IncludeHistory instructs the watcher to include historical values as well.
func IncludeHistory() WatchOpt {
return watchOptFn(func(opts *watchOpts) error {
opts.includeHistory = true
Expand Down

0 comments on commit 73eb433

Please sign in to comment.