diff options
author | Valentin Rothberg <vrothberg@redhat.com> | 2022-08-03 14:57:51 +0200 |
---|---|---|
committer | Valentin Rothberg <vrothberg@redhat.com> | 2022-08-04 13:07:58 +0200 |
commit | af3ce70844faaeece8d7a8dedab7065a13ceba2a (patch) | |
tree | e306e8594d3c13cc166e62775b6c996fd3ad711b /pkg/autoupdate/autoupdate.go | |
parent | 3fdd3b1ae332a26e6bba696d8bd49d29a0299b3b (diff) | |
download | podman-af3ce70844faaeece8d7a8dedab7065a13ceba2a.tar.gz podman-af3ce70844faaeece8d7a8dedab7065a13ceba2a.tar.bz2 podman-af3ce70844faaeece8d7a8dedab7065a13ceba2a.zip |
pkg/autoupdate: document fields of `updater`
Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
Diffstat (limited to 'pkg/autoupdate/autoupdate.go')
-rw-r--r-- | pkg/autoupdate/autoupdate.go | 10 |
1 files changed, 5 insertions, 5 deletions
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 ( |