From ec0eefd281f75fc8956ca119c370231b14ccf963 Mon Sep 17 00:00:00 2001 From: moistpope Date: Mon, 30 Dec 2024 12:07:40 -0500 Subject: [PATCH] Update readme example to use non-deprecated ProjectOptions.LoadProject // ProjectFromOptions load a compose project based on command line options // Deprecated: use ProjectOptions.LoadProject or ProjectOptions.LoadModel Signed-off-by: moistpope --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0ed17c93..328011a5 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ func main() { log.Fatal(err) } - project, err := cli.ProjectFromOptions(ctx, options) + project, err := options.LoadProject(ctx) if err != nil { log.Fatal(err) }