Add generic registry object so we can stop rewriting this code

This commit is contained in:
Daniel Smith
2014-10-09 13:56:30 -07:00
parent 1c75d7646e
commit 9a9362e896
7 changed files with 822 additions and 0 deletions

View File

@@ -167,6 +167,7 @@ func (f *FakeEtcdClient) setLocked(key, value string, ttl uint64) (*etcd.Respons
Value: value,
CreatedIndex: i,
ModifiedIndex: i,
TTL: int64(ttl),
},
},
}