Renamed SmartctlTextParser to SmartctlAtaTextParser.

This commit is contained in:
Alexander Shaduri
2021-03-19 14:51:32 +04:00
parent 9a2606d96f
commit cdb9a4c603
8 changed files with 66 additions and 73 deletions
+2 -2
View File
@@ -16,7 +16,7 @@ Copyright:
#include "app_pcrecpp.h"
#include "ata_storage_property.h"
#include "smartctl_text_parser.h"
#include "smartctl_ata_text_parser.h"
#include "selftest.h"
@@ -243,7 +243,7 @@ std::string SelfTest::update(const std::shared_ptr<CommandExecutor>& smartctl_ex
return error_msg;
AtaStorageAttribute::DiskType disk_type = drive_->get_is_hdd() ? AtaStorageAttribute::DiskType::Hdd : AtaStorageAttribute::DiskType::Ssd;
SmartctlTextParser ps;
SmartctlAtaTextParser ps;
if (!ps.parse_full(output, disk_type)) { // try to parse it
return ps.get_error_msg();
}