Browse Source

Use env variables from os for interpolation

Signed-off-by: Nicolas De Loof <[email protected]>
Nicolas De Loof 5 years ago
parent
commit
8ab544a770
1 changed files with 2 additions and 1 deletions
  1. 2 1
      ecs/cmd/commands/compose.go

+ 2 - 1
ecs/cmd/commands/compose.go

@@ -46,7 +46,8 @@ func ConvertCommand(dockerCli command.Cli, options *cli.ProjectOptions) *cobra.C
 	cmd := &cobra.Command{
 	cmd := &cobra.Command{
 		Use: "convert",
 		Use: "convert",
 		RunE: docker.WithAwsContext(dockerCli, func(ctx docker.AwsContext, backend *amazon.Backend, args []string) error {
 		RunE: docker.WithAwsContext(dockerCli, func(ctx docker.AwsContext, backend *amazon.Backend, args []string) error {
-			project, err := cli.ProjectFromOptions(options)
+			opts := options.WithOsEnv()
+			project, err := cli.ProjectFromOptions(&opts)
 			if err != nil {
 			if err != nil {
 				return err
 				return err
 			}
 			}