Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmd/iac-codemod/refactor_plan.go
Original file line number Diff line number Diff line change
Expand Up @@ -1110,7 +1110,7 @@ func rewritePlanBody(fn *ast.FuncDecl, file *ast.File) {
ast.NewIdent(currentName),
},
}
// emits an assignment: plan, err := platform.ComputePlan(ctx, p, desired, current)
// emits an assignment: plan, err := <pkgAlias>.ComputePlan(ctx, p, desired, current)
planAssign := &ast.AssignStmt{
Lhs: []ast.Expr{ast.NewIdent("plan"), ast.NewIdent("err")},
Tok: token.DEFINE,
Expand Down
2 changes: 1 addition & 1 deletion cmd/wfctl/infra_bootstrap.go
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ func bootstrapSecrets(ctx context.Context, provider secrets.Provider, cfg *Secre
if forceRotate[gen.Key] {
deleteKey := gen.Key
if delErr := provider.Delete(ctx, deleteKey); delErr != nil {
// Log and continue regardless of the error kind — both absent/unsupported
// Log and continue regardless of the error kind — both absent/unsupported
// secrets and unexpected errors should not block the rotation flow.
fmt.Fprintf(os.Stderr, "warn: rotate-pre-delete %s: %v (continuing)\n", deleteKey, delErr)
}
Expand Down
Loading