Use env variables from os for interpolation

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
Nicolas De Loof 2020-07-15 09:52:49 +02:00
parent b7d0b704e5
commit 8ab544a770
No known key found for this signature in database
GPG Key ID: 9858809D6F8F6E7E
1 changed files with 2 additions and 1 deletions

View File

@ -46,7 +46,8 @@ func ConvertCommand(dockerCli command.Cli, options *cli.ProjectOptions) *cobra.C
cmd := &cobra.Command{
Use: "convert",
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 {
return err
}