1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/libnetwork/ipams/remote
Thomas Graf 7acedb94f3 Fix crash when remote plugin returns empty address string
If a remote plugin returns an empty string in response to RequestAddress(),
the internal helper will return nil which will crash libnetwork in several
places.

Treat an empty string as a new error ipamapi.ErrNoIPReturned.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
2016-07-29 10:45:48 +02:00
..
api Avoid persisting ipam data if it can be reconstructed 2016-05-12 10:27:10 -07:00
remote.go Fix crash when remote plugin returns empty address string 2016-07-29 10:45:48 +02:00
remote_test.go Avoid persisting ipam data if it can be reconstructed 2016-05-12 10:27:10 -07:00