Skip to content

Commit

Permalink
nomad/watch: add a note about the Item struct
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanuber committed Nov 4, 2015
1 parent 5f53478 commit 2a1577e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion nomad/watch/watch.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ package watch
// the underlying state store.

// Item describes the scope of a watch. It is used to provide a uniform
// input for subscribe/unsubscribe and notification firing.
// input for subscribe/unsubscribe and notification firing. Specifying
// multiple fields does not place a watch on multiple items. Each Item
// describes exactly one scoped watch.
type Item struct {
Alloc string
AllocEval string
Expand Down

0 comments on commit 2a1577e

Please sign in to comment.