From b96d1e5d049c3df4ce999cba585c8e1b6711455b Mon Sep 17 00:00:00 2001 From: Dawei Huang Date: Tue, 21 Jan 2025 21:02:20 +0000 Subject: [PATCH] add counters. --- common_utils/context.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/common_utils/context.go b/common_utils/context.go index 4e19a871..922c3197 100644 --- a/common_utils/context.go +++ b/common_utils/context.go @@ -57,6 +57,7 @@ const ( DBUS_HALT_SYSTEM DBUS_IMAGE_DOWNLOAD DBUS_IMAGE_INSTALL + DBUS_IMAGE_LIST COUNTER_SIZE ) @@ -100,6 +101,8 @@ func (c CounterType) String() string { return "DBUS image download" case DBUS_IMAGE_INSTALL: return "DBUS image install" + case DBUS_IMAGE_LIST: + return "DBUS image list" default: return "" }