Skip to content

Commit

Permalink
Fix cmd/generator/main.go provider
Browse files Browse the repository at this point in the history
Signed-off-by: SK Ali Arman <[email protected]>
  • Loading branch information
sheikh-arman committed Nov 22, 2023
1 parent a7f1498 commit 40cdd1f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmd/generator/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Copyright 2021 Upbound Inc.
package main

import (
"context"
"fmt"
"os"
"path/filepath"
Expand All @@ -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)
}

0 comments on commit 40cdd1f

Please sign in to comment.