Move clock to util

This commit is contained in:
Daniel Smith
2014-12-22 11:54:32 -08:00
parent 5b8e91595a
commit 545d87d554
4 changed files with 52 additions and 27 deletions

View File

@@ -323,7 +323,7 @@ func (m *Master) init(c *Config) {
var authenticator = c.Authenticator
nodeRESTStorage := minion.NewREST(m.minionRegistry)
ipCache := NewIPCache(c.Cloud, RealClock{})
ipCache := NewIPCache(c.Cloud, util.RealClock{})
podCache := NewPodCache(
ipCache,
c.KubeletClient,