mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-03 19:58:17 +00:00 
			
		
		
		
	Fixed and added tests
This commit is contained in:
		@@ -59,6 +59,13 @@ func NewAutoscalingEtcdStorage(client etcd.Client) storage.Interface {
 | 
			
		||||
	return etcdstorage.NewEtcdStorage(client, testapi.Autoscaling.Codec(), etcdtest.PathPrefix(), false)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func NewBatchEtcdStorage(client etcd.Client) storage.Interface {
 | 
			
		||||
	if client == nil {
 | 
			
		||||
		client = NewEtcdClient()
 | 
			
		||||
	}
 | 
			
		||||
	return etcdstorage.NewEtcdStorage(client, testapi.Batch.Codec(), etcdtest.PathPrefix(), false)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func NewExtensionsEtcdStorage(client etcd.Client) storage.Interface {
 | 
			
		||||
	if client == nil {
 | 
			
		||||
		client = NewEtcdClient()
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user