mirror of https://github.com/docker/cli.git
support src in --secret
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
This commit is contained in:
parent
36c919d313
commit
dc5c8a7713
|
@ -182,7 +182,7 @@ func (o *SecretOpt) Set(value string) error {
|
||||||
|
|
||||||
value := parts[1]
|
value := parts[1]
|
||||||
switch key {
|
switch key {
|
||||||
case "source":
|
case "source", "src":
|
||||||
spec.source = value
|
spec.source = value
|
||||||
case "target":
|
case "target":
|
||||||
tDir, _ := filepath.Split(value)
|
tDir, _ := filepath.Split(value)
|
||||||
|
|
Loading…
Reference in New Issue