Add comment about failures to is-docker-plugin-enabled cmd

This commit is contained in:
Martynas Pumputis authored and Bryan Boreham committed 2017-04-12 13:05:40 +00:00
1 parent 2ba360f33a
commit 3c11c8aa38
1 file changed
+3
+3
View File
@@ -74,6 +74,9 @@ while Weave is not running`, networkName, containers)
}
// Exits with 0 if the given plugin (v2) is enabled.
//
// Any failure due to missing plugin support is non-harmful as plugin (v2)
// cannot be enabled when Docker does not support it.
func isDockerPluginEnabled(args []string) error {
if len(args) != 1 {
cmdUsage("is-docker-plugin-enabled", "<plugin-name>")