Ecwid / consul-api

Java client for Consul HTTP API
Apache License 2.0
416 stars 177 forks source link

The meta Setting is not work ? #166

Closed seifeHu closed 5 years ago

seifeHu commented 6 years ago

I use meta in myCode HashMap<String,String> meta2 = new HashMap<String,String>(); meta2.put("weight", "50"); newService2.setMeta(meta2);

        client.agentServiceRegister(newService2);

when I got health services from agent . I not got my setting meta .
also . I use curl not got my setting meta

http://127.0.0.1:8500/v1/health/service/my-service

Is it a bug ?

vgv commented 5 years ago

This has been fixed in #170 The 1.4.2 release will be available in next couple days