containers / virtcontainers

A Go package for building hardware virtualized container runtimes
Apache License 2.0
139 stars 43 forks source link

check: lint: ineffassign in qemu.go #651

Closed grahamwhaley closed 6 years ago

grahamwhaley commented 6 years ago

We were not checking the return err from addDeviceToBridge, which can validly error out. lint/ineffassign picked this up. Let's check the error return then...

Fixes: #650

Signed-off-by: Graham whaley graham.whaley@intel.com

jodh-intel commented 6 years ago

lgtm

Approved with PullApprove Approved with PullApprove

sboeuf commented 6 years ago

LGTM

Approved with PullApprove Approved with PullApprove