Closed EugenMayer closed 7 years ago
in case that is of any importance, all i configure for diplomat is:
Diplomat.configure do |config|
config.url = "#{address}:#{port}"
if token
config.acl_token = token
end
end
Not sure if this actually does trigger any middleware layer to be reconfigured or whatever
According to https://github.com/lostisland/faraday/pull/685 it is related to https://github.com/WeAreFarmGeek/diplomat/blob/master/lib/diplomat/rest_client.rb#L84 and the order of https://github.com/WeAreFarmGeek/diplomat/blob/master/lib/diplomat/rest_client.rb#L84 / https://github.com/WeAreFarmGeek/diplomat/blob/master/lib/diplomat/rest_client.rb#L85
See my pull request to fix it
@johnhamelink thanks for taking action, very appreciated
This seems to get cause by diplomat nowdas:
see https://github.com/lostisland/faraday/commit/067be864a67e791e6766253ce4ef3f5c740caf70