From af3ce70844faaeece8d7a8dedab7065a13ceba2a Mon Sep 17 00:00:00 2001 From: Valentin Rothberg Date: Wed, 3 Aug 2022 14:57:51 +0200 Subject: pkg/autoupdate: document fields of `updater` Signed-off-by: Valentin Rothberg --- pkg/autoupdate/autoupdate.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'pkg/autoupdate') diff --git a/pkg/autoupdate/autoupdate.go b/pkg/autoupdate/autoupdate.go index 794f31d1f..69a25cb3b 100644 --- a/pkg/autoupdate/autoupdate.go +++ b/pkg/autoupdate/autoupdate.go @@ -52,11 +52,11 @@ var supportedPolicies = map[string]Policy{ // updater includes shared state for auto-updating one or more containers. type updater struct { - conn *dbus.Conn - options *entities.AutoUpdateOptions - unitToTasks map[string][]*task - updatedRawImages map[string]bool - runtime *libpod.Runtime + conn *dbus.Conn // DBUS connection + options *entities.AutoUpdateOptions // User-specified options + unitToTasks map[string][]*task // Keeps track of tasks per unit + updatedRawImages map[string]bool // Keeps track of updated images + runtime *libpod.Runtime // The libpod runtime } const ( -- cgit v1.2.3-54-g00ecf