diff options
| author | Ken Oslund <kenoslund@google.com> | 2015-04-14 16:26:58 -0700 |
|---|---|---|
| committer | Jamie Gennis <jgennis@replicant.com> | 2015-04-16 13:10:19 -0400 |
| commit | 4b9a0514cd18b5f3ab89ada90d08ef0dce688236 (patch) | |
| tree | c1e6f1d212a28a2bce6ba0c43ac9541eb404933c /live_tracker.go | |
| parent | adccb7fccbe092c47a58c091693d3791eeeb83d5 (diff) | |
| download | platform_build_blueprint-4b9a0514cd18b5f3ab89ada90d08ef0dce688236.tar.gz platform_build_blueprint-4b9a0514cd18b5f3ab89ada90d08ef0dce688236.tar.bz2 platform_build_blueprint-4b9a0514cd18b5f3ab89ada90d08ef0dce688236.zip | |
Adding a builtinPool type
This implements the Pool interface. An instance of a builtinPool
is created for the Console pool.
Change-Id: I03334c25495dc573aef2c0e62415352a0b10d6fd
Diffstat (limited to 'live_tracker.go')
| -rw-r--r-- | live_tracker.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/live_tracker.go b/live_tracker.go index 4157f95..3b41d06 100644 --- a/live_tracker.go +++ b/live_tracker.go @@ -113,6 +113,10 @@ func (l *liveTracker) addPool(p Pool) error { _, ok := l.pools[p] if !ok { def, err := p.def(l.config) + if err == errPoolIsBuiltin { + // No need to do anything for built-in rules. + return nil + } if err != nil { return err } |
