merge Verification and Update statuses
Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: Ibb9c1c9f9cb7e9cda18f4e8dddb31d57a12f0d90
diff --git a/firmware_handler.hpp b/firmware_handler.hpp
index e08cb66..649b059 100644
--- a/firmware_handler.hpp
+++ b/firmware_handler.hpp
@@ -195,8 +195,8 @@
blobIDs.end());
}
- VerifyCheckResponses getVerifyStatus();
- UpdateStatus getUpdateStatus();
+ ActionStatus getVerifyStatus();
+ ActionStatus getActionStatus();
/** List of handlers by type. */
std::vector<HandlerPack> handlers;
@@ -235,9 +235,9 @@
/** Temporary variable to track whether a blob is open. */
bool fileOpen = false;
- VerifyCheckResponses lastVerificationResponse = VerifyCheckResponses::other;
+ ActionStatus lastVerificationStatus = ActionStatus::unknown;
- UpdateStatus lastUpdateStatus = UpdateStatus::unknown;
+ ActionStatus lastUpdateStatus = ActionStatus::unknown;
};
} // namespace ipmi_flash