bug fix: exec of DEL cmd caused JSON decode error
authorEugene Yakubovich <eugene.yakubovich@coreos.com>
Fri, 18 Sep 2015 17:30:10 +0000 (10:30 -0700)
committerEugene Yakubovich <eugene.yakubovich@coreos.com>
Fri, 18 Sep 2015 17:30:10 +0000 (10:30 -0700)
commitae3ceedd69cad73fa69850e88352f584952bf361
treec5b49c0892d44c0b4d69632a325dcce8e25a2a4b
parent09a8148e3634e3c267d5ea2f8f2c5beb4eac9dca
bug fix: exec of DEL cmd caused JSON decode error

When plugin is executed with a DEL command, it does not
print result to stdout unless there is an error. Therefore
it stdout bytes should not be passed to json.Unmarshal.
invoke/exec.go
ipam/ipam.go