Skip to content

Commit

Permalink
add counters.
Browse files Browse the repository at this point in the history
  • Loading branch information
hdwhdw committed Jan 21, 2025
1 parent 36c5498 commit b96d1e5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions common_utils/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ const (
DBUS_HALT_SYSTEM
DBUS_IMAGE_DOWNLOAD
DBUS_IMAGE_INSTALL
DBUS_IMAGE_LIST
COUNTER_SIZE
)

Expand Down Expand Up @@ -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 ""
}
Expand Down

0 comments on commit b96d1e5

Please sign in to comment.