breser/git2consul

while running git2consul command, getting "Config value is not valid JSON: undefined"

rkrish108 opened this issue · 3 comments

while running git2consul command, getting "Config value is not valid JSON: undefined"
calvn commented

What is the exact command that you are running, and can you also provide the config file?

@calvn i am getting the same error

below is my config file

below are the values i am using
config_file={"version":"1.0","repos":[{"name":"config","url":"github.com/test.git","include_branch_name":false,"source_root":"test","ignore_file_extension" : true,"branches":["master"],"hooks":[{"type":"polling","interval":"1"}]}]}

endpoint=consul
port=8500

I've seen this error when retrieving the config from consul via a key and you don't have permissions to retrieve it. Unfortunately, I don't think there's enough info to really help here. Since nobody has provided the full command as calvn asked for. Going to close this. Feel free to comment and we can reopen if there's more useful info.