Report correct plugin driver name in "weave status"

This commit is contained in:
Martynas Pumputis authored and Bryan Boreham committed 2017-04-12 13:05:40 +00:00
1 parent 0ff37d3492
commit e852ae99ca
1 file changed
+5 -1
+5 -1
View File
@@ -2055,7 +2055,11 @@ EOF
echo " Service: proxy"
echo " Address: $PROXY_ADDRS"
fi
if [ -z "$SUB_STATUS" ] && ( is_docker_plugin_enabled || is_plugin_enabled ) ; then
if [ -z "$SUB_STATUS" ] && is_docker_plugin_enabled ; then
echo
echo " Service: plugin"
echo " DriverName: $PLUGIN_V2_NAME"
elif [ -z "$SUB_STATUS" ] && is_plugin_enabled ; then
echo
echo " Service: plugin"
echo " DriverName: weave"