Skip to content

Commit

Permalink
fix old type in render-kubecost-manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
phyrog committed Oct 11, 2024
1 parent 5ae6089 commit 167ea55
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cmd/render-kubecost-manifest/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@ import (
"fmt"

"github.com/liquid-reply/gardener-extension-shoot-kubecost/kubecost"
apisconfig "github.com/liquid-reply/gardener-extension-shoot-kubecost/pkg/apis/config"
)

func main() {
out, err := kubecost.Render(kubecost.KubeCostConfig{
ApiKey: "my-kubecost-key",
out, err := kubecost.Render(&apisconfig.Configuration{
ApiToken: "my-kubecost-key",
}, true)
if err != nil {
panic(err)
Expand Down

0 comments on commit 167ea55

Please sign in to comment.