Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

Commit bdc9d81

Browse files
committed
Remove the call to com.docker.cli to get the default context
This is no longer needed since the `docker compose` command was moved to a cli plugin for moby contexts Signed-off-by: Djordje Lukic <[email protected]>
1 parent b46ffa7 commit bdc9d81

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

api/context/store/store.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,6 @@ func New(rootDir string) (Store, error) {
123123

124124
// Get returns the context with the given name
125125
func (s *store) Get(name string) (*DockerContext, error) {
126-
if name == "default" {
127-
return dockerDefaultContext()
128-
}
129126
meta := filepath.Join(s.root, contextsDir, metadataDir, contextDirOf(name), metaFile)
130127
m, err := read(meta)
131128
if os.IsNotExist(err) {

0 commit comments

Comments
 (0)