plugins/*: Don't error if the device doesn't exist
authorTom Denham <tom@tomdee.co.uk>
Mon, 20 Mar 2017 22:49:35 +0000 (15:49 -0700)
committerTom Denham <tom@tomdee.co.uk>
Wed, 22 Mar 2017 15:52:29 +0000 (08:52 -0700)
commit13824487c6f97a8ffde7b4ef10330c75ddc34826
tree8b20a4f089a3cfa68c93e3c3e1d9a60dd91620eb
parentb87126377a207a00ce32bcf67ea059ab8b9f6ba6
plugins/*: Don't error if the device doesn't exist

I wasn't able to test or update the dhcp plugin but from a code read it
should be fine. All the other plugins are tested and fixed
pkg/ip/link.go
pkg/ip/link_test.go
plugins/ipam/host-local/host_local_test.go
plugins/main/bridge/bridge.go
plugins/main/bridge/bridge_test.go
plugins/main/ipvlan/ipvlan.go
plugins/main/ipvlan/ipvlan_test.go
plugins/main/macvlan/macvlan.go
plugins/main/macvlan/macvlan_test.go
plugins/main/ptp/ptp.go
plugins/main/ptp/ptp_test.go