Obtain default value of memory_swap from the container.

This commit is contained in:
Nicolas Delaby 2016-03-24 10:15:05 +01:00
parent 553ecaca25
commit fe439db4d3

View file

@ -400,7 +400,7 @@ VALID_CREATE_OPTS = {
'memory_swap': {
'api_name': 'memswap_limit',
'path': 'HostConfig:MemorySwap',
'default': 0,
'get_default_from_container': True,
},
'mac_address': {
'validator': 'string',