From bb9833e16c585f0c59aedf4ba10b721a35927780 Mon Sep 17 00:00:00 2001 From: Peter Wilhelm Date: Thu, 21 Dec 2023 19:35:35 -0500 Subject: [PATCH] Comment rephrasing to improve clarify/format --- internal/actions/update.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/actions/update.go b/internal/actions/update.go index 1754846..63196ce 100644 --- a/internal/actions/update.go +++ b/internal/actions/update.go @@ -89,7 +89,7 @@ func Update(client container.Client, params types.UpdateParams) (types.Report, e UpdateImplicitRestart(containers) // containersToUpdate will contain all containers, not just those that need to be updated. The "stale" flag is checked via container.ToRestart() - // within stopContainersInReversedOrder and restartContainersInSortedOrder to skip over containers with stale set to false (unless LinkedToRestarting set) + // within stopContainersInReversedOrder and restartContainersInSortedOrder to skip containers with stale set to false (unless LinkedToRestarting set) var containersToUpdate []types.Container for _, c := range containers { if !c.IsMonitorOnly(params) { @@ -286,7 +286,7 @@ func linkedContainerMarkedForRestart(links []string, containers []types.Containe } // Finds the difference between now and a given date, in full days. Input date is expected to originate -// from an image's Created attribute, but since these are not always in ISO 8601 with the same number of +// from an image's Created attribute in ISO 8601, but since these do not always contain the same number of // digits for milliseconds, the function also accounts for variations. func getImageAgeDays(imageCreatedDateTime string) (int, error) {