Skip to content

Commit

Permalink
remove debug print lines
Browse files Browse the repository at this point in the history
  • Loading branch information
ramonskie committed Dec 18, 2024
1 parent 2300e15 commit e8d9d50
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions infrastructure/devicepathresolver/id_device_path_resolver.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package devicepathresolver

import (
"fmt"
"path"
"regexp"
"time"
Expand Down Expand Up @@ -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
}

Expand All @@ -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
}

0 comments on commit e8d9d50

Please sign in to comment.