Merge pull request #5842 from simon3z/rc-annotation

Replica Controller Name Annotation in Pods
This commit is contained in:
Brian Grant
2015-04-23 16:35:18 -07:00
2 changed files with 20 additions and 0 deletions

View File

@@ -43,6 +43,10 @@ type FakePodControl struct {
lock sync.Mutex
}
func init() {
api.ForTesting_ReferencesAllowBlankSelfLinks = true
}
func (f *FakePodControl) createReplica(namespace string, spec api.ReplicationController) {
f.lock.Lock()
defer f.lock.Unlock()