docker / engine-api

DEPRECATED: Please see https://github.com/docker/docker/tree/master/client
Apache License 2.0
264 stars 163 forks source link

Change IPAM driver type to pointer to avoid default value #372

Closed yongtang closed 8 years ago

yongtang commented 8 years ago

This fix tries to address the issue raised in #368 and https://github.com/docker/docker/issues/25735 where NetworkCreate needs to set up the IPAM driver type. Otherwise an error will be returned.

This fix change IPAM driver type to pointer so that /networks/create does not the explicit specification of IPAM driver any more.

This fix fixes #368.

This fix is related to https://github.com/docker/docker/pull/25803

Signed-off-by: Yong Tang yong.tang.github@outlook.com

stevvooe commented 8 years ago

LGTM

vdemeester commented 8 years ago

LGTM 🐸