mirror of
https://github.com/docker/compose.git
synced 2026-08-28 04:18:05 +00:00
Fix bug not allowing users to run any context command when set to an aws context type.
When users have an “aws" context type, we try to exec the command (will execute context ls, context use, etc.) and when it fails because it doesn’t find the aws backend, then display the custom error for aws context type. Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
This commit is contained in:
parent
a0a0e391cb
commit
adeba9b124
3 changed files with 19 additions and 20 deletions
|
|
@ -28,7 +28,7 @@ import (
|
|||
"github.com/docker/compose-cli/context/store"
|
||||
)
|
||||
|
||||
var delegatedContextTypes = []string{store.DefaultContextType, store.AwsContextType}
|
||||
var delegatedContextTypes = []string{store.DefaultContextType}
|
||||
|
||||
// ComDockerCli name of the classic cli binary
|
||||
const ComDockerCli = "com.docker.cli"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue