Added support of Generic resources in compose file

Signed-off-by: Renaud Gaubert <renaud.gaubert@gmail.com>
Upstream-commit: 1ff73f867d
Component: cli
This commit is contained in:
Renaud Gaubert
2017-11-28 21:52:09 +01:00
committed by Renaud Gaubert
parent 77a39cce80
commit 2598a6cd6a
7 changed files with 93 additions and 19 deletions
@@ -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