Skip to content
Closed
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
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ Workspace:
Path: /Workspace/Users/[USERNAME]/.bundle/test-bundle/default

Found 2 warnings
Error: 2 warnings were found. Warnings are not allowed in strict mode
Error: 2 warnings were found. Warnings are treated as errors in strict mode
4 changes: 2 additions & 2 deletions acceptance/bundle/validate/strict/output.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Workspace:
Path: /Workspace/Users/[USERNAME]/.bundle/test-bundle/foo

Found 1 warning
Error: 1 warning was found. Warnings are not allowed in strict mode
Error: 1 warning was found. Warnings are treated as errors in strict mode

Exit code: 1

Expand All @@ -44,6 +44,6 @@ Workspace:
Path: /Workspace/Users/[USERNAME]/.bundle/test-bundle/bar

Found 2 warnings
Error: 2 warnings were found. Warnings are not allowed in strict mode
Error: 2 warnings were found. Warnings are treated as errors in strict mode

Exit code: 1
2 changes: 1 addition & 1 deletion cmd/bundle/validate.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ Please run this command before deploying to ensure configuration quality.`,
} else {
prefix = fmt.Sprintf("%d warnings were found", numWarnings)
}
return fmt.Errorf("%s. Warnings are not allowed in strict mode", prefix)
return fmt.Errorf("%s. Warnings are treated as errors in strict mode", prefix)
}

return err
Expand Down
Loading