utils: config_file: add config_source::API
For task_manager test api. Signed-off-by: Benny Halevy <bhalevy@scylladb.com>
This commit is contained in:
@@ -423,6 +423,8 @@ sstring utils::config_file::config_src::source_name() const noexcept {
|
||||
return "internal";
|
||||
case utils::config_file::config_source::CQL:
|
||||
return "cql";
|
||||
case utils::config_file::config_source::API:
|
||||
return "api";
|
||||
}
|
||||
|
||||
__builtin_unreachable();
|
||||
|
||||
@@ -81,7 +81,8 @@ public:
|
||||
SettingsFile,
|
||||
CommandLine,
|
||||
CQL,
|
||||
Internal
|
||||
Internal,
|
||||
API,
|
||||
};
|
||||
|
||||
struct config_src {
|
||||
|
||||
Reference in New Issue
Block a user