mirror of https://github.com/docker/compose.git
Change default context name to 'ecs'.
The ACI backend uses 'aci' as the default context name. The ECS backend uses 'aws'. There may be other AWS or Azure backends so lets name them for what they are. Addresses issue #154. Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
parent
794ea3cc24
commit
b7d0b704e5
|
@ -66,7 +66,7 @@ func SetupCommand() *cobra.Command {
|
|||
return contextStore.NewContext(opts.name, &opts.context)
|
||||
},
|
||||
}
|
||||
cmd.Flags().StringVarP(&opts.name, "name", "n", "aws", "Context Name")
|
||||
cmd.Flags().StringVarP(&opts.name, "name", "n", "ecs", "Context Name")
|
||||
cmd.Flags().StringVarP(&opts.context.Profile, "profile", "p", "", "AWS Profile")
|
||||
cmd.Flags().StringVarP(&opts.context.Cluster, "cluster", "c", "", "ECS cluster")
|
||||
cmd.Flags().StringVarP(&opts.context.Region, "region", "r", "", "AWS region")
|
||||
|
|
Loading…
Reference in New Issue