Skip to content

Commit

Permalink
Update readme example to use non-deprecated ProjectOptions.LoadProject
Browse files Browse the repository at this point in the history
// ProjectFromOptions load a compose project based on command line options
// Deprecated: use ProjectOptions.LoadProject or ProjectOptions.LoadModel

Signed-off-by: moistpope <[email protected]>
  • Loading branch information
moistpope authored Dec 30, 2024
1 parent e3dffbf commit ec0eefd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit ec0eefd

Please sign in to comment.