Skip to content
Snippets Groups Projects
Commit f72258fd authored by Alexander Turenko's avatar Alexander Turenko Committed by Alexander Turenko
Browse files

config: fix 'instance not found' failure message

The instance config schema was modified in commit 8ee2b0d8
("config: start singleton instance in RW by default"): the `database.rw`
(boolean) parameter was replaced by the `database.mode` parameter (enum
of `ro` and `rw`).

However, in the same commit, the default mode of an instance that is the
only one in its replicaset was modified: it starts in the read-write
mode by default. As result, the parameter is actually unneeded in the
minimal configuration example.

These changes were not reflected in the 'instance not found' error
message, which contains the minimal configuration example. It is fixed
here.

Part of #8862
Follows up #8810

NO_DOC=nothing to document, it is just an error message
NO_CHANGELOG=see NO_DOC
NO_TEST=there is a test case in config-luatest/reload_test.lua that
        triggers the given error; it doesn't needs updating, because it
        checks the start of the error message
parent 51a83d90
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment