From 56fd833d55f62962f7d4c7c8421006cab7b98409 Mon Sep 17 00:00:00 2001 From: Matt Spinler Date: Tue, 31 Oct 2017 14:00:18 -0500 Subject: Add ResolveCallout class This class is a type of callback, and when triggered will resolve all error log entries that have the specified callout. It does this by setting the Resolved property on the log entry. It can be used to do things like resolve all errors against a particular part when that part is replaced, which would be done by specifying this class as a callback on a watch on the Present property for the part in the inventory. Change-Id: I50557938c9e15a91744ee2a16d67eaa7f367ef04 Signed-off-by: Matt Spinler --- src/test/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/test/Makefile.am') diff --git a/src/test/Makefile.am b/src/test/Makefile.am index 7dddccd..5a4d20d 100644 --- a/src/test/Makefile.am +++ b/src/test/Makefile.am @@ -196,4 +196,5 @@ callbacktest_LDADD = \ $(PHOSPHOR_DBUS_INTERFACES_LIBS) \ $(PHOSPHOR_LOGGING_LIBS) \ $(builddir)/../journal.o \ - $(builddir)/../elog.o + $(builddir)/../elog.o \ + $(builddir)/../resolve_errors.o -- cgit v1.2.1