docs(http): fix incorrect template body variables#472
Conversation
The documentation incorrectly listed 'metadata.*' variables which don't exist in the template context. Fixed to use the correct 'canary.*' and added missing 'check.*' variables. Changes: - Fixed 'metadata.name' -> 'canary.name' - Fixed 'metadata.namespace' -> 'canary.namespace' - Fixed 'metadata.labels' -> 'canary.labels' - Added missing 'canary.id' - Added missing 'check.*' variables (name, id, description, labels, endpoint) - Improved table with descriptions column - Fixed env vars description to use 'env' instead of 'envVars'
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
✅ Deploy Preview for canarychecker ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
- Add outputs.<checkName>.* variables available when dependsOn is configured - Fix body -> content in request-chaining.mdx to match actual field name
WalkthroughDocumentation updates rename the public-facing output field from Changes
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches🧪 Generate unit tests (beta)
No actionable comments were generated in the recent review. 🎉 Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Fixed template body variables table:
metadata.→canary.check.*andcanary.idvariablesSummary by CodeRabbit
bodytocontentin request chaining documentationcanary.*andcheck.*namespaced variables for enhanced template customization