From dc5c8a7713e3a27c5104e780fd34ef689e87862e Mon Sep 17 00:00:00 2001 From: Victor Vieux Date: Wed, 23 Nov 2016 14:30:57 -0800 Subject: [PATCH] support src in --secret Signed-off-by: Victor Vieux --- command/service/opts.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command/service/opts.go b/command/service/opts.go index 90d0f99249..92e00ce41c 100644 --- a/command/service/opts.go +++ b/command/service/opts.go @@ -182,7 +182,7 @@ func (o *SecretOpt) Set(value string) error { value := parts[1] switch key { - case "source": + case "source", "src": spec.source = value case "target": tDir, _ := filepath.Split(value)