mirror of
https://github.com/docker/compose.git
synced 2026-08-28 12:23:49 +00:00
Renamed ExecIfDefaultCtxType for more explicit behaviour
This commit is contained in:
parent
3981244701
commit
ab3cd0fec1
2 changed files with 5 additions and 5 deletions
|
|
@ -16,8 +16,8 @@ import (
|
|||
// ComDockerCli name of the classic cli binary
|
||||
const ComDockerCli = "com.docker.cli"
|
||||
|
||||
// Exec delegates to com.docker.cli if on moby context
|
||||
func Exec(ctx context.Context) {
|
||||
// ExecIfDefaultCtxType delegates to com.docker.cli if on moby context
|
||||
func ExecIfDefaultCtxType(ctx context.Context) {
|
||||
currentContext := apicontext.CurrentContext(ctx)
|
||||
|
||||
s := store.ContextStore(ctx)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue