From e8d084847d15cbf159c97c5fa4d382e080cf0f65 Mon Sep 17 00:00:00 2001 From: Adam Martin Date: Sun, 28 Jan 2024 21:15:27 -0500 Subject: [PATCH] remove extra debug statement Signed-off-by: Adam Martin --- pkg/cosign/cosign.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/pkg/cosign/cosign.go b/pkg/cosign/cosign.go index 2ceedde..20dfbab 100644 --- a/pkg/cosign/cosign.go +++ b/pkg/cosign/cosign.go @@ -211,8 +211,6 @@ func EnsureBinaryExists(ctx context.Context, bin embed.FS) (error) { // getCosignPath returns the binary path func getCosignPath(ctx context.Context) (string, error) { - l := log.FromContext(ctx) - // Get the current user's information currentUser, err := user.Current() if err != nil { @@ -231,7 +229,6 @@ func getCosignPath(ctx context.Context) (string, error) { if err := os.MkdirAll(haulerDir, 0755); err != nil { return "", fmt.Errorf("Error creating .hauler directory: %v\n", err) } - l.Debugf("Created .hauler directory at: %s", haulerDir) } // Determine the binary name.