Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

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

Merged
vdemeester merged 1 commit intodocker-archive-public:masterfrom
yongtang:368-network-create-default-ipam
Aug 30, 2016
Merged

Change IPAM driver type to pointer to avoid default value#372
vdemeester merged 1 commit intodocker-archive-public:masterfrom
yongtang:368-network-create-default-ipam

Conversation

@yongtang
Copy link
Contributor

@yongtang yongtang commented Aug 17, 2016

This fix tries to address the issue raised in #368 and moby/moby#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 moby/moby#25803

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

This fix tries to address the issue raised in 368 and docker/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 docker/25735.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
@stevvooe
Copy link
Contributor

LGTM

@vdemeester
Copy link
Contributor

LGTM 🐸

@vdemeester vdemeester merged commit 7cf26e0 into docker-archive-public:master Aug 30, 2016
@yongtang yongtang deleted the 368-network-create-default-ipam branch August 30, 2016 21:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

networkCreate failing to create overlay networks

4 participants