Skip to content

Commit

Permalink
Merge branch 'confd-load-etcd' into v0.10.0-scale
Browse files Browse the repository at this point in the history
  • Loading branch information
Rob Brockbank committed Aug 27, 2015
2 parents c287cb5 + 86277f2 commit dbcf480
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func (c *Client) WatchPrefix(prefix string, waitIndex uint64, stopChan chan bool

// Check that the key for this node is one of the keys we care about.
for _, k := range keys {
if k == resp.Node.Key {
if strings.HasPrefix(resp.Node.Key, k) {
return resp.Node.ModifiedIndex, err
}
}
Expand Down

0 comments on commit dbcf480

Please sign in to comment.