Skip to content

Commit

Permalink
feat: change fmt for log
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanCaamano committed Nov 15, 2024
1 parent 03f8250 commit 442b7da
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config/sso_extended.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import (
"strings"

"github.com/argoproj/argo-workflows/v3/server/auth/devhub"
log "github.com/sirupsen/logrus"
)

type SSOExtendedLabel struct {
Expand Down Expand Up @@ -35,7 +36,7 @@ func RbacDelegateToLabel(ctx context.Context, mail string, apiUrl, apiEndpoint,
mailParts := strings.Split(mail, "@")
servicesAndGroup, err := devhub.GetServicesAndGroup(devhubClient, apiUrl, apiEndpoint, apiPassword, mailParts[0], writeGroups)
if err != nil {
fmt.Printf("Can't Procces the petition on devhub to get roles %+v", err)
log.WithError(err).Error("can't Procces the petition on devhub to get roles %+v", err)
}
resourcesToFilterPopulated.ServiceToGroup = servicesAndGroup.ServiceToGroup
if servicesAndGroup.ServiceToGroup != nil {
Expand Down

0 comments on commit 442b7da

Please sign in to comment.