remove extra debug statement

Signed-off-by: Adam Martin <adam.martin@rancherfederal.com>
This commit is contained in:
Adam Martin
2024-01-28 21:15:27 -05:00
parent e70379870f
commit e8d084847d
-3
View File
@@ -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.