mirror of
https://github.com/rancher/plugins.git
synced 2025-07-08 20:53:53 +00:00
Merge pull request #102 from steveeJ/scripts
scripts/exec-plugins: print plugin results if DEBUG>0
This commit is contained in:
commit
a4f8407150
@ -25,6 +25,8 @@ function exec_plugins() {
|
||||
|
||||
echo "${name} : error executing $CNI_COMMAND: $errmsg"
|
||||
exit 1
|
||||
elif [[ ${DEBUG} -gt 0 ]]; then
|
||||
echo ${res} | jq -r .
|
||||
fi
|
||||
|
||||
let "i=i+1"
|
||||
|
Loading…
Reference in New Issue
Block a user