Skip to content
This repository was archived by the owner on Apr 27, 2019. It is now read-only.
This repository was archived by the owner on Apr 27, 2019. It is now read-only.

Does not work on netcoreapp2.1 #121

@MortalFlesh

Description

@MortalFlesh

Hello,
I'm trying to implement a simple app to read values from consul.KV.
I've made an example app in F# using you library. Code is here: https://github.com/MortalFlesh/fsharp-consul

It works fine, when I'm using netcoreapp2.0.

Get value for "some/key" ...
Key: some/key | Value: "some value"

I have a private instance of consul, so I can't give you live example data..

But when I change netcoreapp2.0 to netcoreapp2.1 it does not work..

Get value for "some/key" ...
Key: some/key | Value: "<null-response>"

<null-response> is a fallback when client.KV.Get(key).Result.Response is null

code is here https://github.com/MortalFlesh/fsharp-consul/blob/master/Program.fs#L18

I'm running the code on Mac OS High Sierra 10.13.6 with

dotnet --version
2.1.302

I have a problem with client.KV.List() as well, but I wanted to simplify this as much as possible.
Do you know what might be the problem? Am I doing something wrong?

Thanks for you reply.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions