Fix debug logging doesn't show module name (#2009)

Signed-off-by: Arunim Chaudhary <arunim.chaudhary@stackguardian.io>
This commit is contained in:
Arunim Chaudhary
2024-09-23 17:30:51 +05:30
committed by GitHub
parent 12ed264597
commit d33ccba2d2

View File

@@ -168,7 +168,7 @@ func (c *Client) ModuleVersions(ctx context.Context, module *regsrc.Module) (*re
for _, mod := range versions.Modules {
for _, v := range mod.Versions {
log.Printf("[DEBUG] found available version %q for %s", v.Version, mod.Source)
log.Printf("[DEBUG] found available version %q for %s", v.Version, module.Module())
}
}