forked from tarantool/vshard
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
router: relax checks in auto disable
Router's API is protected until the configuration is done, as accessing router's functions at that time is not safe and can cause low level errors. Let's relax checks in this protection. The thrown error messages are incorrect from now on: router can be started on unconfigured instance, when box_cfg_mode is 'manual'. box.info.status in such case will be 'unconfigured', not 'running', we shouldn't rely on it either. NO_DOC=<documentation is correct>
- Loading branch information
1 parent
c035ffb
commit 6bbe76b
Showing
2 changed files
with
12 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters