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)
commit9ea56937d4641e9fed1f35e991e238d064f466be
tree1ce894aba192060e7d19e771503e86b7161a042a
parentcc918a1aea96a7a6947f482f0273e1ab29244d79
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.
libcni/api.go
pkg/invoke/exec.go
pkg/ipam/ipam.go