Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement: Broken reference detector should indicate file and line where offending resource was declared #100

Closed
kpaulisse opened this issue Apr 14, 2017 · 1 comment

Comments

@kpaulisse
Copy link
Contributor

When the reference validation feature detects a broken reference, it currently prints messages such as the following:

Catalog has broken reference: cron::job[backup_to_s3] -> require[Aws::S3cfg[<fqdn>]] (OctocatalogDiff::Errors::ReferenceValidationError)

It would be much more helpful if this also printed the filename and line number where (in this example) cron::job { 'backup_to_s3': ...} was declared, to avoid searching through the codebase for it.

@kpaulisse
Copy link
Contributor Author

Resolved by #103

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant