Skip to content

Fix the inconsistent error log #16

@anujgoyal1

Description

@anujgoyal1
if (seenContexts.add(context) && !ConfigServiceUtils.isNull(config)) {
        contextSpecificConfigList
            .add(ContextSpecificConfig.newBuilder().setContext(context).setConfig(config).build());
}

in getAllConfig method of DocumentConfigStore, if value of config is null, an error is thrown.
But deleteConfig itself sets the value config in of deletedVersion to null.
So if deleteConfig is called followed by getAllConfigs, it's end up throwing error.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

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