Skip to content

Commit

Permalink
chore: temp debug logging
Browse files Browse the repository at this point in the history
  • Loading branch information
vvagaytsev committed Oct 11, 2023
1 parent ea53dd7 commit 27f8d76
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core/src/garden.ts
Original file line number Diff line number Diff line change
Expand Up @@ -813,7 +813,9 @@ export class Garden {
return f && f.error ? [toGardenError(f.error)] : []
})

// we do not include the error messages in the message, because we already log those errors in the solver.
// We do not include the error messages in the message, because we already log those errors in the solver.
// FIXME: remove this tmp debug output
wrappedErrors.forEach((e) => console.log(e + "\n"))
throw new PluginError({
message: `Failed resolving one or more providers:\n- ${failedNames.join("\n- ")}`,
wrappedErrors,
Expand Down
2 changes: 2 additions & 0 deletions core/src/plugins/kubernetes/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,8 @@ export async function prepareEnvironment(

// TODO-0.13/TODO-0.14: remove this option for remote kubernetes clusters?
if (config.setupIngressController === "nginx" && !config.clusterType) {
// FIXME: remove this tmp debug output
console.log("INSTALLING NGINX FOR REMOTE CLUSTER")
// Install nginx for remote clusters
await helmNginxInstall(k8sCtx, log)
}
Expand Down

0 comments on commit 27f8d76

Please sign in to comment.