consul: WIP

This commit is contained in:
Fernandez Ludovic 2019-04-20 15:46:38 +02:00
parent 627b5423bc
commit 38f5b7763f

View File

@ -48,8 +48,8 @@ func consulRun(cmd *cobra.Command, _ []string) error {
} }
config.Options.Token = cmd.Flag("token").Value.String() config.Options.Token = cmd.Flag("token").Value.String()
config.Backend = store.CONSUL
config.Backend = store.CONSUL
consul.Register() consul.Register()
return kv.Dump(config, dumpPath, crtInfo, keyInfo, subDir) return kv.Dump(config, dumpPath, crtInfo, keyInfo, subDir)