Comments (7)
very urgent for me, more or less fork or force, my complete stack is offline due to this ;/
from diplomat.
@eugenmayor obviously Iād recommend in the first instance you revert to an older version of the gem which fixes your immediate problems, then we can look at fixing. A really useful thing would be for you to create a unit test which mimics your current problems so we can fix them specifically
from diplomat.
Iam on vacation right now, won't be able to provide further details before tomorrow 11am CET. Basically all recursive convert to hash are now flatted arrays with keys as string, full path. So no more multi level hasmap but rather flatted array as it has been before convert to hash
from diplomat.
Just to add more data to this:
2.0.0 returns:
Diplomat::Kv.get('g/web/maxconn')
=> "20000"
2.0.1 returns:
Diplomat::Kv.get('g/web/maxconn')
=> [{:key=>"g/web/maxconn", :value=>"20000"}]
Diplomat::Kv.get('g/web/maxconn', convert_to_hash: true)
=> {"g"=>{"web"=>{"maxconn"=>"20000"}}}}
from diplomat.
Alright I'm going to revert the change in 2.0.1 that introduced this issue since it seems to have also introduced #153. We'll need to revisit the possibility of consistent returns at a later date.
from diplomat.
This should be fixed in v2.0.2 of the gem @EugenMayer that reverts the change introduced in #120.
from diplomat.
Closing this out since there has not been any additional reports of issues since reverting the change.
from diplomat.
Related Issues (20)
- /v1/catalog/register is broken after upgrade to v2.1.2 HOT 1
- Support Consul 1.4.0+ ACL system HOT 2
- Add support for Consul 1.5.x ACL tokens HOT 2
- Add support for Consul 1.5.x Auth Method and Binding Rule HTTP APIs HOT 2
- Improve error message in case of missing ACL
- 2.3.0: syntax error in file lib/diplomat/rest_client.rb:243 ? HOT 4
- It is unable to retrieve service configuration from consul HOT 2
- Add support for Operator Autopilot API HOT 5
- Due to faraday 1.1 release diplomat only works on ruby 2.4+
- Unable to use multiple tags when querying for services HOT 2
- Bump faraday requirement HOT 1
- Register HTTP checks HOT 3
- Add support for default datacenter HOT 3
- Broken link to API documentation HOT 3
- Register entities via agent
- Add blocking read support for service health endpoint HOT 3
- Faraday 2.0.0 breaks diplomat HOT 4
- Faraday 1.x can bypass Diplomat::QueryAlreadyExists HOT 1
- Can't get it to work with auth token given in config HOT 5
- Kv.put() method with Consul v1.10.1 results in KV entries that are visible via CLI/API, but not UI HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ššš
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ā¤ļø Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from diplomat.