Skip to content

Commit

Permalink
debug log error
Browse files Browse the repository at this point in the history
  • Loading branch information
abuchanan-airbyte committed Nov 8, 2024
1 parent 536e173 commit 3fcfb7e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion internal/cmd/local/k8s/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ func (p Provider) Cluster(ctx context.Context) (Cluster, error) {
}

kindProvider := cluster.NewProvider(cluster.ProviderWithLogger(&kindLogger{pterm: pterm.Debug}))
kindProvider.ExportKubeConfig(p.ClusterName, p.Kubeconfig, false)
if err := kindProvider.ExportKubeConfig(p.ClusterName, p.Kubeconfig, false); err != nil {
pterm.Debug.Printfln("failed to export kube config: %s", err)
}

return &kindCluster{
p: kindProvider,
Expand Down

0 comments on commit 3fcfb7e

Please sign in to comment.