Merge pull request #28780 from vieux/accept_src_in_secret

support src in --secret
Upstream-commit: a0f447d124
Component: cli
This commit is contained in:
Antonio Murdaca
2016-11-26 14:34:30 +01:00
committed by GitHub

View File

@ -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)