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:
Chad Metcalf 2020-07-13 23:08:36 -07:00 committed by Nicolas De Loof
parent 794ea3cc24
commit b7d0b704e5
No known key found for this signature in database
GPG Key ID: 9858809D6F8F6E7E
1 changed files with 1 additions and 1 deletions

View File

@ -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")