merge Verification and Update Interfaces
Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: I8c2548b9d6e15965cfdd49965bdc5dbe97d0dc94
diff --git a/update_systemd.cpp b/update_systemd.cpp
index e81b2bc..d8f2329 100644
--- a/update_systemd.cpp
+++ b/update_systemd.cpp
@@ -17,7 +17,6 @@
#include "update_systemd.hpp"
#include "status.hpp"
-#include "update.hpp"
#include <memory>
#include <sdbusplus/bus.hpp>
@@ -26,7 +25,7 @@
namespace ipmi_flash
{
-std::unique_ptr<UpdateInterface>
+std::unique_ptr<TriggerableActionInterface>
SystemdUpdateMechanism::CreateSystemdUpdate(sdbusplus::bus::bus&& bus,
const std::string& target,
const std::string& mode)
@@ -35,7 +34,7 @@
mode);
}
-bool SystemdUpdateMechanism::triggerUpdate()
+bool SystemdUpdateMechanism::trigger()
{
/* TODO: Add a util method for triggering a service with optional additional
* parameter. */
@@ -63,7 +62,7 @@
}
}
-void SystemdUpdateMechanism::abortUpdate()
+void SystemdUpdateMechanism::abort()
{
return;
}