Use local compose implementation for local ecs simulation context

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
Nicolas De Loof 2020-12-15 17:21:09 +01:00
parent 76ba85fe5d
commit db5467ce22
No known key found for this signature in database
GPG key ID: 9858809D6F8F6E7E
3 changed files with 54 additions and 102 deletions

View file

@ -40,7 +40,7 @@ func upCommand(contextType string) *cobra.Command {
Short: "Create and start containers",
RunE: func(cmd *cobra.Command, args []string) error {
switch contextType {
case store.LocalContextType, store.DefaultContextType:
case store.LocalContextType, store.DefaultContextType, store.EcsLocalSimulationContextType:
return runCreateStart(cmd.Context(), opts, args)
default:
return runUp(cmd.Context(), opts, args)