1
0
mirror of https://github.com/docker/cli.git synced 2026-01-26 15:41:42 +03:00

Added support of Generic resources in compose file

Signed-off-by: Renaud Gaubert <renaud.gaubert@gmail.com>
This commit is contained in:
Renaud Gaubert
2017-11-17 23:05:59 +01:00
committed by Renaud Gaubert
parent 20a6ff32ee
commit 1ff73f867d
7 changed files with 93 additions and 19 deletions

View File

@@ -77,8 +77,6 @@ func runCreate(dockerCli command.Cli, flags *pflag.FlagSet, opts *serviceOptions
return err
}
fmt.Printf("%v\n", service.TaskTemplate.Resources)
specifiedSecrets := opts.secrets.Value()
if len(specifiedSecrets) > 0 {
// parse and validate secrets