mirror of
https://github.com/davidgiven/fluxengine.git
synced 2025-10-31 11:17:01 -07:00
Drive information is stored in FL2 files.
This commit is contained in:
@@ -36,6 +36,10 @@ public:
|
||||
Fl2FluxSource(const Fl2FluxSourceProto& config): _config(config)
|
||||
{
|
||||
_proto = loadFl2File(_config.filename());
|
||||
|
||||
if (::config.has_drive())
|
||||
warning("FLUX: overriding drive configuration with flux file contents");
|
||||
::config.mutable_drive()->MergeFrom(_proto.drive());
|
||||
}
|
||||
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user