Skip to content

Commit 1b18b36

Browse files
committed
fix: add logging for missing required variables in BrickCreate function
1 parent 5742d45 commit 1b18b36

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/orchestrator/bricks/bricks.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,7 @@ func (s *Service) BrickCreate(
290290
for _, brickVar := range brick.Variables {
291291
if brickVar.DefaultValue == "" {
292292
if _, exist := req.Variables[brickVar.Name]; !exist {
293+
// See issue https://github.com/arduino/arduino-app-cli/issues/68
293294
slog.Warn("[Skip] a required variable is not set by user", "variable", brickVar.Name)
294295
}
295296
}

0 commit comments

Comments
 (0)