Skip to content

Commit 368fc25

Browse files
committed
add a comment
1 parent 42e57ca commit 368fc25

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

provisioner/terraform/provision.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,8 @@ func (s *server) Plan(
144144

145145
modules, err := getModules(sess.WorkDirectory)
146146
if err != nil {
147+
// We allow getModules to fail, as the result is used only
148+
// for telemetry purposes now.
147149
s.logger.Error(ctx, "failed to get modules from disk", slog.Error(err))
148150
}
149151

0 commit comments

Comments
 (0)