Simplify cli plugin config file entry

Make it a simple `map[string]string` for now.

Added a unit test for it.

Signed-off-by: Ian Campbell <ijc@docker.com>
This commit is contained in:
Ian Campbell
2019-02-18 11:49:41 +00:00
parent 4eb642be46
commit 20439aa662
10 changed files with 185 additions and 85 deletions

View File

@ -13,7 +13,7 @@ import (
// TestGlobalHelp ensures correct behaviour when running `docker help`
func TestGlobalHelp(t *testing.T) {
run, cleanup := prepare(t)
run, _, cleanup := prepare(t)
defer cleanup()
res := icmd.RunCmd(run("help"))