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

Commit bd857b1

Browse files
authored
Merge pull request #375 from yudai/use-ctx-in-readme-exapmle
Use docker/ctx package in example in README
2 parents 35cdb15 + c9b35e5 commit bd857b1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,13 @@ import (
2828
"golang.org/x/net/context"
2929

3030
"github.com/docker/libcompose/docker"
31+
"github.com/docker/libcompose/docker/ctx"
3132
"github.com/docker/libcompose/project"
3233
"github.com/docker/libcompose/project/options"
3334
)
3435

3536
func main() {
36-
project, err := docker.NewProject(&docker.Context{
37+
project, err := docker.NewProject(&ctx.Context{
3738
Context: project.Context{
3839
ComposeFiles: []string{"docker-compose.yml"},
3940
ProjectName: "my-compose",

0 commit comments

Comments
 (0)