breser / git2consul

Mirrors the contents of a git repository into Consul KVs.
Other
763 stars 164 forks source link

keep leading zero #162

Open bendan-samosir opened 7 years ago

bendan-samosir commented 7 years ago

If i make a kv like key_1=000800155519242 in repo, it shows up in consul as 800155519242. Seems like it’s being automatically treated as numeric and leading zero omitted. Is there a way/config too keep the zeros appear in consul without change it to key_1="000800155519242" ?

marcindulak commented 6 years ago

Don't see this behavior when doing https://github.com/breser/git2consul/issues/175