diff --git a/cmd/generator/main.go b/cmd/generator/main.go index ce77a54..d98d2a3 100644 --- a/cmd/generator/main.go +++ b/cmd/generator/main.go @@ -5,6 +5,7 @@ Copyright 2021 Upbound Inc. package main import ( + "context" "fmt" "os" "path/filepath" @@ -23,5 +24,6 @@ func main() { if err != nil { panic(fmt.Sprintf("cannot calculate the absolute path with %s", rootDir)) } - pipeline.Run(config.GetProvider(), absRootDir) + p, err := config.GetProvider(context.Background(), true) + pipeline.Run(p, absRootDir) }