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

runTemplate - DEBUG logging is needed to identify missing dependencies #1308

Closed
domelz opened this issue Nov 12, 2019 · 1 comment
Closed

Comments

@domelz
Copy link
Contributor

domelz commented Nov 12, 2019

github.com/hashicorp/consul-template/manager/runner.go's runTemplate function waits until there are no missing dependencies before executing the template, but does not identify which dependencies are missing.

Adding DEBUG print statements would allow one to identify which dependencies are missing that are preventing a template from being executed.

Consul Template version

consul-template v0.22.1 (46ddb47)

Configuration

Command

Debug output

Expected behavior

Additional DEBUG logging would enable missing dependencies to be identified.

Actual behavior

Existing DEBUG logging states that there are missing dependencies, but does not identify them.

Steps to reproduce

References

@eikenb
Copy link
Contributor

eikenb commented Dec 16, 2019

Merging #1309 fixed this.

@eikenb eikenb closed this as completed Dec 16, 2019
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

2 participants