Skip to content
Snippets Groups Projects
Commit 44849816 authored by Jonathan Boulle's avatar Jonathan Boulle
Browse files

Merge pull request #163 from glerchundi/fix-journal-reader-cursor-comments

sdjournal/read: fix comment related to mutually exclusive options
parents b9b5f597 3dbc52de
No related branches found
No related tags found
No related merge requests found
......@@ -29,8 +29,9 @@ var (
// JournalReaderConfig represents options to drive the behavior of a JournalReader.
type JournalReaderConfig struct {
// The Since and NumFromTail options are mutually exclusive and determine
// where the reading begins within the journal.
// The Since, NumFromTail and Cursor options are mutually exclusive and
// determine where the reading begins within the journal. The order in which
// options are written is exactly the order of precedence.
Since time.Duration // start relative to a Duration from now
NumFromTail uint64 // start relative to the tail
Cursor string // start relative to the cursor
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment