Skip to content

Commit

Permalink
delete: unncessary comments
Browse files Browse the repository at this point in the history
Co-authored-by: Windz <WindzCUHK@users.noreply.github.com>
Signed-off-by: Aaron Jeongwoo Kim <53258958+mlajkim@users.noreply.github.com>
  • Loading branch information
mlajkim and WindzCUHK authored Jul 28, 2023
1 parent f0e9d61 commit 2fe0d82
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pkg/identity/metricsd.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,6 @@ func Metricsd(idConfig *config.IdentityConfig, stopChan <-chan struct{}) (error,
log.Warnf("Failed to read element '%s' of given TARGET_DOMAIN_ROLES: %s, err: %s", domainrole, idConfig.TargetDomainRoles, err.Error())
continue
}
// if RoleCertFilenameDelimiter = "_" then,
// fileName = your-domain_your-role.cert.pem"
fileName := targetDomain + idConfig.RoleCertFilenameDelimiter + targetRole + ".cert.pem"
exporter.Files = append(exporter.Files, strings.TrimSuffix(idConfig.RoleCertDir, "/")+"/"+fileName)
}
Expand Down

0 comments on commit 2fe0d82

Please sign in to comment.