Skip to content

[Bug]Consul config center can not publish config correncly #6350

Closed

Description

@tswstarplanet

The code of Method publishConfig of Class ConsulDynamicConfiguration:

    @Override
    public boolean publishConfig(String key, String group, String content) throws UnsupportedOperationException {
        String normalizedKey = convertKey(group, key);
        return kvClient.putValue(normalizedKey + PATH_SEPARATOR + content);
    }

We want put a config with value with the "content", but the method just add the "content" to the key and put a null value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions