mirror of
https://github.com/docker/cli.git
synced 2026-09-26 09:20:58 -04:00
support src in --secret
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
Upstream-commit: dc5c8a7713
Component: cli
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user