mirror of https://github.com/docker/docker-py.git
				
				
				
			Merge dede52ab21 into c38656dc78
				
					
				
			This commit is contained in:
		
						commit
						a8ad5ef5d3
					
				| 
						 | 
				
			
			@ -30,7 +30,8 @@ class ConfigCollection(Collection):
 | 
			
		|||
 | 
			
		||||
    def create(self, **kwargs):
 | 
			
		||||
        obj = self.client.api.create_config(**kwargs)
 | 
			
		||||
        return self.prepare_model(obj)
 | 
			
		||||
        config = self.client.configs.get(obj.get('ID'))
 | 
			
		||||
        return self.prepare_model(config)
 | 
			
		||||
    create.__doc__ = APIClient.create_config.__doc__
 | 
			
		||||
 | 
			
		||||
    def get(self, config_id):
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue