From e8d9d5058cf76db420d01bcc1b180471022bee2c Mon Sep 17 00:00:00 2001 From: ramonskie Date: Wed, 18 Dec 2024 13:04:22 +0100 Subject: [PATCH] remove debug print lines --- infrastructure/devicepathresolver/id_device_path_resolver.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/infrastructure/devicepathresolver/id_device_path_resolver.go b/infrastructure/devicepathresolver/id_device_path_resolver.go index 88b436f62..152386cd8 100644 --- a/infrastructure/devicepathresolver/id_device_path_resolver.go +++ b/infrastructure/devicepathresolver/id_device_path_resolver.go @@ -1,7 +1,6 @@ package devicepathresolver import ( - "fmt" "path" "regexp" "time" @@ -101,7 +100,6 @@ func (idpr *idDevicePathResolver) GetRealDevicePath(diskSettings boshsettings.Di func (idpr *idDevicePathResolver) TransformDiskID(diskID string) (string, error) { if idpr.DiskIDTransformPattern == "" { - fmt.Println("DEBUG: DiskIDTransformRules is empty, returning diskID as is") return diskID, nil } @@ -110,6 +108,5 @@ func (idpr *idDevicePathResolver) TransformDiskID(diskID string) (string, error) if re.MatchString(transformed) { transformed = re.ReplaceAllString(transformed, idpr.DiskIDTransformReplacement) } - fmt.Printf("DEBUG: DiskIDTransformRules: Original: %s -> Transformed: %s\n", diskID, transformed) return transformed, nil }