From 35bd020a3e292f6fe4a299c2ae1290ff0e85dfe1 Mon Sep 17 00:00:00 2001 From: Lucas Bajolet Date: Thu, 2 May 2024 09:57:32 -0400 Subject: [PATCH] plugin-getter: rm vocal log on checksum entries When a checksum file for a release is downloaded and iterated upon to find the compatible binary for a release, we used to log each non-compatible entry in the logs. This is noisy as we know there's going to be multiple entries that don't match the host's os/arch, and there's no good reason to show those, so we silence them. --- packer/plugin-getter/plugins.go | 1 - 1 file changed, 1 deletion(-) diff --git a/packer/plugin-getter/plugins.go b/packer/plugin-getter/plugins.go index 51e6d7b45..4ad02f60c 100644 --- a/packer/plugin-getter/plugins.go +++ b/packer/plugin-getter/plugins.go @@ -721,7 +721,6 @@ func (pr *Requirement) InstallLatest(opts InstallOptions) (*Installation, error) continue } if err := entry.validate("v"+version.String(), opts.BinaryInstallationOptions); err != nil { - log.Printf("[INFO] ignoring invalid remote binary %s: %s", entry.Filename, err) continue }