Skip to content

Commit

Permalink
Removing debug statements
Browse files Browse the repository at this point in the history
  • Loading branch information
deepakraj1997 committed Nov 9, 2021
1 parent 8a27e3f commit a281009
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions controllers/registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,6 @@ func (r *VeleroReconciler) parseAWSSecret(secret corev1.Secret, secretKey string
}
cleanedLine := strings.ReplaceAll(line, " ", "")
parsedProfile := awsProfileRegex.ReplaceAllString(cleanedLine, "")
fmt.Println(parsedProfile, awsProfile, parsedProfile == awsProfile)
if parsedProfile == awsProfile {
// check for end of arr
if index+1 >= len(splitString) {
Expand All @@ -557,7 +556,6 @@ func (r *VeleroReconciler) parseAWSSecret(secret corev1.Secret, secretKey string
if profLine == "" {
continue
}
fmt.Println(profLine)
matchedAccessKey := awsAccessKeyRegex.MatchString(profLine)

if err != nil {
Expand Down

0 comments on commit a281009

Please sign in to comment.